From e7d559ecb3b4dcbbc7b83388f2160ecb6ba9afa3 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sat, 22 Jul 2017 17:28:47 -0500 Subject: [PATCH] ignore reset --- app/Console/Commands/CreateDatabase.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Console/Commands/CreateDatabase.php b/app/Console/Commands/CreateDatabase.php index 6046c286..9bfd8555 100644 --- a/app/Console/Commands/CreateDatabase.php +++ b/app/Console/Commands/CreateDatabase.php @@ -88,6 +88,12 @@ class CreateDatabase extends Command */ public function handle() { + /*if ($this->option('reset')) { + if(!$this->confirm('The "reset" option will destroy the database, are you sure?')) { + return false; + } + }*/ + $this->info('Using connection "'.config('database.default').'"'); $conn = config('database.default');