Skip to content

Commit 01e61cc

Browse files
committed
Update finishing.blade.php
1 parent 9c2a91e commit 01e61cc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

resources/views/components/finishing.blade.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@
2828
if(EnvEditor::keyExists('FORCE_ROUTE_HTTPS')){ /* Do nothing if key already exists */
2929
} else {EnvEditor::addKey('FORCE_ROUTE_HTTPS', 'false');}
3030
31-
32-
// Adds database entries
33-
Schema::disableForeignKeyConstraints();
34-
Artisan::call('migrate');
35-
Schema::enableForeignKeyConstraints();
36-
3731
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
3832
3933
function getStringBetween($string, $start, $end) {
@@ -86,6 +80,10 @@ function getStringBetween($string, $start, $end) {
8680
DB::table('buttons')->delete();
8781
DB::table('buttons')->truncate();
8882
try {Artisan::call('db:seed --class="ButtonSeeder" --force');} catch (exception $e) {}
83+
84+
DB::table('link_types')->delete();
85+
DB::table('link_types')->truncate();
86+
try {Artisan::call('migrate');} catch (exception $e) {}
8987
Schema::enableForeignKeyConstraints();
9088
9189
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";

0 commit comments

Comments
 (0)