diff --git a/src/MultitenancyServiceProvider.php b/src/MultitenancyServiceProvider.php index 02ae3e9..ba8e51a 100644 --- a/src/MultitenancyServiceProvider.php +++ b/src/MultitenancyServiceProvider.php @@ -46,7 +46,7 @@ protected function registerPublishables(): self if (! class_exists('CreateLandlordTenantsTable')) { $this->publishes([ - __DIR__ . '/../database/migrations/landlord/create_landlord_tenants_table.php.stub' => database_path('migrations/landlord' . date('Y_m_d_His', time()) . '_create_tenants_table.php'), + __DIR__ . '/../database/migrations/landlord/create_landlord_tenants_table.php.stub' => database_path('migrations/landlord/' . date('Y_m_d_His', time()) . '_create_landlord_tenants_table.php'), ], 'migrations'); }