Package Data | |
---|---|
Maintainer Username: | overherz |
Package Create Date: | 2020-06-10 |
Package Last Update: | 2020-06-10 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:20:51 |
Package Statistics | |
---|---|
Total Downloads: | 8 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
ClickHouse is an open source column-oriented database management system capable of real time generation of analytical data reports using SQL queries. Library is suitable for Laravel.
composer require serkarn/laravel-clickhouse-migrations
Example for clickhouse and migrations settings:
...
'clickhouse' => [
'host' => env('CLICKHOUSE_HOST', 'localhost'),
'port' => env('CLICKHOUSE_PORT', 8123),
'username' => env('CLICKHOUSE_USER', 'default'),
'password' => env('CLICKHOUSE_PASSWORD', ''),
'options' => [
'database' => env('CLICKHOUSE_DATABASE', 'default'),
'timeout' => 1,
'connectTimeOut' => 2,
],
],
'clickhouse-migrations' => [
'dir' => env('CLICKHOUSE_MIGRATION_DIR', '/database/clickhouse-migrations/'),
'table' => env('CLICKHOUSE_MIGRATION_TABLE_NAME', 'migrations'),
],
...
'providers' => [
...
\Serkarn\ClickhouseMigrations\ClickhouseProvider::class,
...
],
php artisan clickhouse:migration:create {name}
php artisan clickhouse:migrate
php artisan clickhouse:migrate --down