We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51055c3 commit ca01be5Copy full SHA for ca01be5
routes/console.php
@@ -1,8 +1,9 @@
1
<?php
2
3
-use Illuminate\Foundation\Inspiring;
4
use Illuminate\Support\Facades\Artisan;
5
6
-Artisan::command('inspire', function () {
7
- $this->comment(Inspiring::quote());
8
-})->purpose('Display an inspiring quote')->hourly();
+// Daily reset of demo database
+Artisan::command('migrate:fresh', function () {})
+ ->purpose('Fresh db migration to reset demo database')->dailyAt('00:00');
+Artisan::command('db:seed', function () {})
9
+ ->purpose('Seeding the reset database with new demo data')->dailyAt('00:00');
0 commit comments