From 26885f5a603b8e9a9d1e1838f36977ff6027c5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Fromentin?= Date: Mon, 22 Apr 2024 13:43:43 +0200 Subject: [PATCH] fix: Wipe before setup --- routes/console.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/console.php b/routes/console.php index 97514d2..cbee49f 100644 --- a/routes/console.php +++ b/routes/console.php @@ -20,6 +20,7 @@ })->purpose("Display an inspiring quote"); Artisan::command("db:setup", function () { + $this->call("db:wipe"); $this->call("migrate:refresh"); $this->call("db:seed"); });