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

Merge branch '2.x' into saas

This commit is contained in:
Samuel Štancl 2019-10-26 22:54:27 +02:00 committed by GitHub
commit dfffcebec2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -11,7 +11,7 @@ return [
'custom_columns' => [
// 'plan',
],
'connection' => null,
'connection' => null, // Your central database connection. Set to null to use the default connection.
'table_names' => [
'TenantModel' => 'tenants',
'DomainModel' => 'domains',
@ -27,7 +27,7 @@ return [
// 'localhost',
],
'database' => [
'based_on' => null, // The connection that will be used as a base for the dynamically created tenant connection.
'based_on' => null, // The connection that will be used as a base for the dynamically created tenant connection. Set to null to use the default connection.
'prefix' => 'tenant',
'suffix' => '',
],
@ -98,4 +98,5 @@ return [
'queue_database_deletion' => false,
'delete_database_after_tenant_deletion' => false, // delete the tenant's database after deleting the tenant
'unique_id_generator' => Stancl\Tenancy\UniqueIDGenerators\UUIDGenerator::class,
'push_initialization_middleware_to_global_stack' => true,
];