1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 04:14:03 +00:00

Add shouldQueueMigration()

This commit is contained in:
Samuel Štancl 2019-10-03 22:36:53 +02:00
parent 071cc6f950
commit be02f22484

View file

@ -311,6 +311,11 @@ class TenantManager
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
{
return $this->app['config']['tenancy.delete_database_after_tenant_deletion'] ?? false;