Skip to content

Commit b6c610f

Browse files
committed
Ensure commands can be executed on Production Mode
1 parent d89de66 commit b6c610f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Services/Setup.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ public function runMigration( $fields )
125125
* default tables are created. Those table are located at the
126126
* root of the database folder.
127127
*/
128-
Artisan::call( 'migrate' );
128+
Artisan::call( 'migrate', [
129+
'--force' => true
130+
]);
129131

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

0 commit comments

Comments
 (0)