mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:14:03 +00:00
[1.8.0] Add more comments to the config file (#109)
This commit is contained in:
parent
f590e2ce2a
commit
1d10ac76f5
1 changed files with 4 additions and 4 deletions
|
|
@ -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' => [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue