From e00793573fc3a7a33e0b307517ab64702b5aa463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 29 Sep 2019 12:15:31 +0200 Subject: [PATCH] DB name -> DB connection --- src/Commands/MigrateFresh.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/MigrateFresh.php b/src/Commands/MigrateFresh.php index 5883372c..8fb54c52 100644 --- a/src/Commands/MigrateFresh.php +++ b/src/Commands/MigrateFresh.php @@ -42,7 +42,7 @@ final class MigrateFresh extends Command tenancy()->initialize($tenant); $this->call('db:wipe', [ - '--database' => $tenant->getDatabaseName(), + '--database' => $tenant->getDatabaseConnection(), '--force' => true, ]);