Skip to content

Commit d6287ca

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

resources/views/components/finishing.blade.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,12 @@ function getStringBetween($string, $start, $end) {
7676
}
7777
7878
/* Updates button database entries */
79+
Artisan::call('migrate');
80+
Artisan::call('migrate:refresh --path=database/migrations/2022_09_22_123137_link-type.php');
7981
Schema::disableForeignKeyConstraints();
8082
DB::table('buttons')->delete();
8183
DB::table('buttons')->truncate();
8284
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) {}
8785
Schema::enableForeignKeyConstraints();
8886
8987
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "?success\" />";

0 commit comments

Comments
 (0)