mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-05 22:39:22 +01:00
Update finishing.blade.php
This commit is contained in:
parent
01e61cc0bf
commit
d6287ca035
@ -76,14 +76,12 @@
|
||||
}
|
||||
|
||||
/* Updates button database entries */
|
||||
Artisan::call('migrate');
|
||||
Artisan::call('migrate:refresh --path=database/migrations/2022_09_22_123137_link-type.php');
|
||||
Schema::disableForeignKeyConstraints();
|
||||
DB::table('buttons')->delete();
|
||||
DB::table('buttons')->truncate();
|
||||
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();
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";
|
||||
|
Loading…
Reference in New Issue
Block a user