|
@ -19,6 +19,9 @@ class AppServiceProvider extends ServiceProvider |
|
|
touch(database_path(env('DB_DATABASE'))); |
|
|
touch(database_path(env('DB_DATABASE'))); |
|
|
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true)); |
|
|
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true)); |
|
|
Artisan::call('storage:link'); |
|
|
Artisan::call('storage:link'); |
|
|
|
|
|
//Cache |
|
|
|
|
|
Artisan::call('config:cache'); |
|
|
|
|
|
Artisan::call('route:cache'); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|