Skip to content

Commit 18d3e60

Browse files
committed
Fixed error undefined constant "STDIN" when updating
#373
1 parent 77c482d commit 18d3e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/finishing.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function getStringBetween($string, $start, $end) {
107107
108108
/* Updates button database entries */
109109
Schema::disableForeignKeyConstraints();
110-
try {Artisan::call('migrate');} catch (exception $e) {}
110+
try {Artisan::call('migrate', ['--force' => true]);} catch (exception $e) {}
111111
try {DB::table('buttons')->delete();} catch (exception $e) {}
112112
try {DB::table('buttons')->truncate();} catch (exception $e) {}
113113
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}

0 commit comments

Comments
 (0)