From 9b573709e95237cd776f2c3208fbaa5988adc0ff Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 13 Jul 2017 13:45:59 -0500 Subject: [PATCH] Cleanup of database reset and cleanup --- .env.dev.example | 6 +- .env.travis | 8 +- .idea/inspectionProfiles/Project_Default.xml | 2 + .travis.yml | 8 +- Makefile | 3 +- app/Console/Commands/CreateDatabase.php | 102 +++++++++++++++++++ app/Console/Kernel.php | 2 +- config/database.php | 2 +- phpvms.iml | 43 -------- 9 files changed, 119 insertions(+), 57 deletions(-) create mode 100644 app/Console/Commands/CreateDatabase.php diff --git a/.env.dev.example b/.env.dev.example index 8f71600a..a6dec8e9 100644 --- a/.env.dev.example +++ b/.env.dev.example @@ -7,13 +7,11 @@ APP_URL=http://localhost APP_SETTINGS_STORE=json DB_CONNECTION=local -DB_HOST=localhost +DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE= +DB_DATABASE=phpvms DB_USERNAME= DB_PASSWORD= CACHE_DRIVER=array CACHE_PREFIX= - -PHPVMS_CURRENCY=dollar diff --git a/.env.travis b/.env.travis index e90110c7..70b795d8 100644 --- a/.env.travis +++ b/.env.travis @@ -5,11 +5,11 @@ APP_LOG_LEVEL=debug APP_URL=http://localhost APP_SETTINGS_STORE=json -DB_CONNECTION=local -DB_HOST=localhost +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE= -DB_USERNAME= +DB_DATABASE=phpvms +DB_USERNAME=root DB_PASSWORD= CACHE_DRIVER=array diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 1cad2918..330a3966 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -24,10 +24,12 @@