1
0
Fork 0
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:
Samuel Štancl 2019-01-19 12:13:50 +01:00 committed by GitHub
parent cbabb9136d
commit eaeeeb5046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',
], ],
], ],