We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc5a853 + 64f3aa6 commit c2e8f44Copy full SHA for c2e8f44
app/Console/Commands/RefreshDb.php
@@ -39,10 +39,12 @@ public function __construct()
39
*/
40
public function handle()
41
{
42
+ Artisan::call('down');
43
Log::warning('Cleanup time. Refreshing the database.');
44
Artisan::call('db:wipe --force');
45
Artisan::call('migrate --force');
46
Artisan::call('db:seed --force');
47
Artisan::call('backup:clean');
48
+ Artisan::call('up');
49
}
50
0 commit comments