added views

This commit is contained in:
KodeStar
2018-01-29 20:14:40 +00:00
parent 13c46b3069
commit 0a0fccb309
4 changed files with 47 additions and 34 deletions

View File

@@ -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));
}
}
/**