mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-07 23:21:19 +02:00
Fixed error undefined constant "STDIN" when updating
https://github.com/JulianPrieber/littlelink-custom/issues/373
This commit is contained in:
parent
77c482d161
commit
18d3e6069d
@ -107,7 +107,7 @@ use Illuminate\Support\Facades\File;
|
||||
|
||||
/* Updates button database entries */
|
||||
Schema::disableForeignKeyConstraints();
|
||||
try {Artisan::call('migrate');} catch (exception $e) {}
|
||||
try {Artisan::call('migrate', ['--force' => true]);} catch (exception $e) {}
|
||||
try {DB::table('buttons')->delete();} catch (exception $e) {}
|
||||
try {DB::table('buttons')->truncate();} catch (exception $e) {}
|
||||
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user