1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:54:05 +00:00
This commit is contained in:
Samuel Štancl 2019-08-21 21:14:17 +02:00
parent 787063ed73
commit 54b19ee1d9

View file

@ -15,16 +15,16 @@ return [
], ],
], ],
'tenant_route_namespace' => 'App\Http\Controllers', 'tenant_route_namespace' => 'App\Http\Controllers',
'exempt_domains' => [ 'exempt_domains' => [ // e.g. domains which host landing pages, sign up pages, etc
// 'localhost', // 'localhost',
], ],
'database' => [ 'database' => [
'based_on' => 'mysql', 'based_on' => 'mysql', // The connection that will be used as a base for the dynamically created tenant connection.
'prefix' => 'tenant', 'prefix' => 'tenant',
'suffix' => '', 'suffix' => '',
], ],
'redis' => [ 'redis' => [
'tenancy' => false, 'tenancy' => false, // to enable Redis tenancy, you must use phpredis
'prefix_base' => 'tenant', 'prefix_base' => 'tenant',
'prefixed_connections' => [ 'prefixed_connections' => [
'default', 'default',
@ -34,7 +34,7 @@ return [
'cache' => [ 'cache' => [
'tag_base' => 'tenant', 'tag_base' => 'tenant',
], ],
'filesystem' => [ 'filesystem' => [ // https://stancl-tenancy.netlify.com/docs/filesystem-tenancy/
'suffix_base' => 'tenant', 'suffix_base' => 'tenant',
// Disks which should be suffixed with the suffix_base + tenant UUID. // Disks which should be suffixed with the suffix_base + tenant UUID.
'disks' => [ 'disks' => [