mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 06:54:03 +00:00
Change the default config
This commit is contained in:
parent
cbabb9136d
commit
eaeeeb5046
1 changed files with 4 additions and 3 deletions
|
|
@ -3,14 +3,15 @@
|
||||||
return [
|
return [
|
||||||
'storage_driver' => 'Stancl\Tenancy\StorageDrivers\RedisStorageDriver',
|
'storage_driver' => 'Stancl\Tenancy\StorageDrivers\RedisStorageDriver',
|
||||||
'database' => [
|
'database' => [
|
||||||
'based_on' => 'sqlite',
|
'based_on' => 'mysql',
|
||||||
'prefix' => 'tenant',
|
'prefix' => 'tenant',
|
||||||
'suffix' => '.sqlite',
|
'suffix' => '',
|
||||||
],
|
],
|
||||||
'redis' => [
|
'redis' => [
|
||||||
'prefix_base' => 'tenant',
|
'prefix_base' => 'tenant',
|
||||||
'prefixed_connections' => [
|
'prefixed_connections' => [
|
||||||
'default',
|
'default',
|
||||||
|
'cache',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'cache' => [
|
'cache' => [
|
||||||
|
|
@ -21,7 +22,7 @@ return [
|
||||||
'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' => [
|
||||||
// 'local',
|
'local',
|
||||||
// 's3',
|
// 's3',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue