mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 20:20:34 +09:00
added views
This commit is contained in:
@@ -13,7 +13,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
if(!file_exists(database_path(env('DB_DATABASE')))) {
|
||||
// first time setup
|
||||
//die("No Database");
|
||||
touch(database_path(env('DB_DATABASE')));
|
||||
\Artisan::call('migrate', array('--path' => 'app/migrations', '--force' => true));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user