Skip to content

Commit e9e7d50

Browse files
committed
Update migrate command to use --force option
1 parent c99b48d commit e9e7d50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Services/SetupService.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ public function runMigration( $fields )
159159
* default tables are created. Those table are located at the
160160
* root of the database folder.
161161
*/
162-
Artisan::call( 'migrate' );
162+
Artisan::call( 'migrate', [
163+
'--force' => true
164+
]);
163165

164166
/**
165167
* NexoPOS uses Sanctum, we're making sure to publish the package.

0 commit comments

Comments
 (0)