1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-23 14:57:46 +01:00

fix: Avvia migrazioni nel setup

This commit is contained in:
Maicol Battistini 2022-01-17 19:11:00 +01:00
parent 82b5c2977d
commit c2dd33b004
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A

View File

@ -116,6 +116,9 @@ class SetupController extends Controller
Artisan::call('cache:clear');
Artisan::call('config:cache');
// Avvia migrations
Artisan::call('migrate', ['--force' => true]);
setting($request->only(['timestamp_format', 'date_format', 'time_format', 'locale']));
return response()->noContent();