mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:24:04 +00:00
Tenant contract, Tenancy bootstrappers, drop predis
This commit is contained in:
parent
98cb49b1c0
commit
f04ca349bd
13 changed files with 158 additions and 47 deletions
|
|
@ -26,11 +26,10 @@ return [
|
|||
'suffix' => '',
|
||||
],
|
||||
'redis' => [
|
||||
'tenancy' => false, // to enable Redis tenancy, you must use phpredis
|
||||
'prefix_base' => 'tenant',
|
||||
'prefixed_connections' => [
|
||||
'default',
|
||||
'cache',
|
||||
// 'default',
|
||||
// 'cache',
|
||||
],
|
||||
],
|
||||
'cache' => [
|
||||
|
|
@ -51,10 +50,14 @@ return [
|
|||
],
|
||||
],
|
||||
'database_managers' => [
|
||||
// Tenant database managers handle the creation & deletion of tenant databases.
|
||||
'sqlite' => 'Stancl\Tenancy\TenantDatabaseManagers\SQLiteDatabaseManager',
|
||||
'mysql' => 'Stancl\Tenancy\TenantDatabaseManagers\MySQLDatabaseManager',
|
||||
'pgsql' => 'Stancl\Tenancy\TenantDatabaseManagers\PostgreSQLDatabaseManager',
|
||||
],
|
||||
'tenancy_bootstrappers' => [
|
||||
''
|
||||
],
|
||||
'queue_database_creation' => false,
|
||||
'queue_database_deletion' => false,
|
||||
'unique_id_generator' => 'Stancl\Tenancy\UUIDGenerator',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue