Skip to content

Commit 3508cbe

Browse files
committed
fix: patch up migration file
1 parent 4326a37 commit 3508cbe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Queue/Commands/QueueInstallCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ protected function handle()
4242
$this->info('Queue migration generated successfully');
4343
$this->comment('Running queue migration...');
4444

45-
$filename = basename($migrationFile, '.php');
46-
47-
if (!\Aloe\Core::run("php leaf db:migrate -f $filename", $this->output)) {
45+
if (!\Aloe\Core::run('php leaf db:migrate -f jobs', $this->output)) {
4846
$this->error('Failed to run queue migration');
4947
return 1;
5048
}

0 commit comments

Comments
 (0)