We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9665af3 commit eb12113Copy full SHA for eb12113
src/Drivers/Multi/Listeners/SetUpTenantDatabase.php
@@ -32,7 +32,8 @@ public function handle(TenantDatabaseCreated $event)
32
protected function migrate(Tenant $tenant)
33
{
34
$migration = Artisan::call('tenants:migrate', [
35
- '--tenants' => [$tenant->id]
+ '--tenants' => [$tenant->id],
36
+ '--force' => true,
37
]);
38
39
return $migration === 0;
@@ -47,7 +48,8 @@ protected function migrate(Tenant $tenant)
47
48
protected function seed(Tenant $tenant)
49
50
return Artisan::call('tenants:seed', [
51
52
53
54
}
55
0 commit comments