mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-07 15:51:20 +01:00
Update finishing.blade.php
This commit is contained in:
parent
01e61cc0bf
commit
d6287ca035
@ -76,14 +76,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Updates button database entries */
|
/* Updates button database entries */
|
||||||
|
Artisan::call('migrate');
|
||||||
|
Artisan::call('migrate:refresh --path=database/migrations/2022_09_22_123137_link-type.php');
|
||||||
Schema::disableForeignKeyConstraints();
|
Schema::disableForeignKeyConstraints();
|
||||||
DB::table('buttons')->delete();
|
DB::table('buttons')->delete();
|
||||||
DB::table('buttons')->truncate();
|
DB::table('buttons')->truncate();
|
||||||
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
|
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
|
||||||
|
|
||||||
DB::table('link_types')->delete();
|
|
||||||
DB::table('link_types')->truncate();
|
|
||||||
try {Artisan::call('migrate');} catch (exception $e) {}
|
|
||||||
Schema::enableForeignKeyConstraints();
|
Schema::enableForeignKeyConstraints();
|
||||||
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";
|
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";
|
||||||
|
Loading…
Reference in New Issue
Block a user