Skip to content

Commit 363e577

Browse files
committed
move migrations higher in chain at least for now
1 parent e041767 commit 363e577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/InstallCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public function handle(AppSettings $settings)
2727

2828
Sleep::for(2)->seconds();
2929

30+
$this->call('migrate', ['--seed' => true, '--seeder' => DatabaseSeeder::class]);
31+
3032
if (confirm('Do you want to configure Cachet before installing?', true)) {
3133
info('Configuring Cachet...');
3234
$this->configureEnvironmentSettings();
@@ -37,8 +39,6 @@ public function handle(AppSettings $settings)
3739

3840
$this->call('filament:assets');
3941

40-
$this->call('migrate', ['--seed' => true, '--seeder' => DatabaseSeeder::class]);
41-
4242
$settings->save();
4343

4444
info('Cachet is installed ⚡');

0 commit comments

Comments
 (0)