Cleanup config files if the db setup fails

This commit is contained in:
Nabeel Shahzad
2018-02-25 15:13:04 -06:00
parent 88e4c26b8f
commit d9abaa2f06
3 changed files with 31 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ class DatabaseService {
/**
* Setup the database by running the migration commands
* Only run the setup for sqlite, otherwise, we're assuming
* that the MySQL database has already been created
*/
public function setupDB()
{