mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:34:02 +00:00
Add shouldQueueMigration()
This commit is contained in:
parent
071cc6f950
commit
be02f22484
1 changed files with 5 additions and 0 deletions
|
|
@ -311,6 +311,11 @@ class TenantManager
|
||||||
return $this->app['config']['tenancy.migrate_after_creation'] ?? false;
|
return $this->app['config']['tenancy.migrate_after_creation'] ?? false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function shouldQueueMigration(): bool
|
||||||
|
{
|
||||||
|
return $this->app['config']['tenancy.queue_automatic_migration'] ?? false;
|
||||||
|
}
|
||||||
|
|
||||||
public function shouldDeleteDatabase(): bool
|
public function shouldDeleteDatabase(): bool
|
||||||
{
|
{
|
||||||
return $this->app['config']['tenancy.delete_database_after_tenant_deletion'] ?? false;
|
return $this->app['config']['tenancy.delete_database_after_tenant_deletion'] ?? false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue