LaravelPackages.net
Acme Inc.
Toggle sidebar
yuriykim/laravel-clickhouse-migrations

Clickhouse migrations based on Laravel migrations and smi2/phpclickhouse

25
1
v1.1.0
About yuriykim/laravel-clickhouse-migrations

yuriykim/laravel-clickhouse-migrations is a Laravel package for clickhouse migrations based on laravel migrations and smi2/phpclickhouse. It currently has 1 GitHub stars and 25 downloads on Packagist (latest version v1.1.0). Install it with composer require yuriykim/laravel-clickhouse-migrations. Discover more Laravel packages by yuriykim or browse all Laravel packages to compare alternatives.

Last updated

Laravel ClickHouse migrations

Requirements:

  • php ^8.0
  • Laravel ^8.2

Currently, Laravel 9 Is not supported because of migration stub logic changes

Installation:

  • composer require chocofamilyme/laravel-clickhouse-migrations
  • Comment out Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class in config/app.php

Commands:

  • create migrations: as usual php artisan make:migration migration_name
  • migrate: php arisan clickhouse:migrate {--step} {--force : Force the operation to run when in production}
  • rollback: php arisan clickhouse:migrate:rollback {--step} {--force : Force the operation to run when in production}
  • fresh: php artisan clickhouse:migrate:fresh
Comments