Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
fix: Wipe before setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Iltotore committed Apr 22, 2024
1 parent f76b0e6 commit 26885f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 26885f5

Please sign in to comment.