@@ -25,7 +25,7 @@ |
||
25 | 25 | $this->artisan('migrate'); |
26 | 26 | $this->artisan('db:seed'); |
27 | 27 | |
28 | - $this->beforeApplicationDestroyed(function () { |
|
28 | + $this->beforeApplicationDestroyed(function() { |
|
29 | 29 | $this->artisan('cache:model:clear'); |
30 | 30 | $this->artisan('migrate:refresh'); |
31 | 31 | $this->artisan('migrate:fresh'); |
@@ -37,8 +37,9 @@ |
||
37 | 37 | Artisan::call('migrate'); |
38 | 38 | Artisan::call('db:seed'); |
39 | 39 | |
40 | - if ($this->option('demo')) |
|
41 | - Artisan::call('demo:seed'); |
|
40 | + if ($this->option('demo')) { |
|
41 | + Artisan::call('demo:seed'); |
|
42 | + } |
|
42 | 43 | |
43 | 44 | $this->info('Database has been reset!'); |
44 | 45 | } |