Add --force flag to migrations (#1203)

This commit is contained in:
Nabeel S
2021-05-24 10:58:10 -04:00
committed by GitHub
parent 4985da991b
commit 7d8a34645e
3 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ class MigrationService extends Service
// A little ugly, run the main migration first, this makes sure the migration table is there
$output = '';
Artisan::call('migrate');
Artisan::call('migrate', ['--force' => true]);
$output .= trim(Artisan::output());
// Then get any remaining migrations that are left over