File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
namespace Cog \Laravel \Clickhouse \ConsoleCommand ;
15
15
16
+ use Cog \Laravel \Clickhouse \Migration \Migrator ;
16
17
use Illuminate \Console \Command ;
17
18
use Illuminate \Console \ConfirmableTrait ;
18
- use Cog \Laravel \Clickhouse \Migration \Migrator ;
19
19
use Illuminate \Contracts \Config \Repository as AppConfigRepositoryInterface ;
20
+ use Symfony \Component \Console \Attribute \AsCommand ;
20
21
22
+ #[AsCommand(
23
+ name: 'clickhouse:migrate ' ,
24
+ description: 'Run the ClickHouse database migrations ' ,
25
+ )]
21
26
final class ClickhouseMigrateCommand extends Command
22
27
{
23
28
use ConfirmableTrait;
Original file line number Diff line number Diff line change 22
22
use Symfony \Component \Console \Input \InputArgument ;
23
23
use Symfony \Component \Console \Input \InputOption ;
24
24
25
- #[AsCommand(name: 'make:clickhouse-migration ' )]
25
+ #[AsCommand(
26
+ name: 'make:clickhouse-migration ' ,
27
+ description: 'Create a new ClickHouse migration file ' ,
28
+ )]
26
29
final class MakeClickhouseMigrationCommand extends Command
27
30
{
28
31
private MigrationCreator $ creator ;
You can’t perform that action at this time.
0 commit comments