Update finishing.blade.php

This commit is contained in:
Julian Prieber 2022-11-09 06:47:02 +01:00
parent 9464886b85
commit ef95171779
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@
if(EnvEditor::keyExists('ENABLE_SOCIAL_LOGIN')){ /* Do nothing if key already exists */
} else {EnvEditor::addKey('ENABLE_SOCIAL_LOGIN', 'false');}
if(file_get_contents(base_path("version.json")) > '2.9.1' and file_get_contents(base_path("version.json")) <= '3.0.0'){
if(file_get_contents(base_path("version.json")) >= '2.9.1' and file_get_contents(base_path("version.json")) <= '3.0.0'){
Schema::disableForeignKeyConstraints();
try {Artisan::call('db:seed');} catch (exception $e) {}
Artisan::call('db:seed --force');
Schema::enableForeignKeyConstraints();
}