Skip to content

Commit

Permalink
Update DatabaseManager.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayfroiden authored Feb 10, 2024
1 parent 5ff9470 commit ed1968f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/DatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function migrateAndSeed()
private function migrate()
{
try {
Artisan::call('migrate', ["--force" => true, '--schema-path' => 'do not run schema path']);
Artisan::call('migrate:fresh', ["--force" => true, '--schema-path' => 'do not run schema path']);
} catch (Exception $e) {
return $this->response($e->getMessage());
}
Expand Down

0 comments on commit ed1968f

Please sign in to comment.