More installer fixes, creation and seeding works

This commit is contained in:
Nabeel Shahzad
2017-12-14 21:59:54 -06:00
parent 719d7c2bd5
commit 9d2ee0e7df
9 changed files with 188 additions and 7 deletions

View File

@@ -2,7 +2,9 @@
namespace App\Services;
use Log;
use Carbon\Carbon;
use Illuminate\Database\QueryException;
use Webpatser\Uuid\Uuid;
use Symfony\Component\Yaml\Yaml;
use Illuminate\Support\Facades\DB;
@@ -58,7 +60,11 @@ class DatabaseService extends BaseService
}
}
DB::table($table)->insert($row);
try {
DB::table($table)->insert($row);
} catch(QueryException $e) {
Log::info($e->getMessage());
}
}
}
}