1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:34: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 [
'storage_driver' => 'Stancl\Tenancy\StorageDrivers\RedisStorageDriver',
'database' => [
'based_on' => 'sqlite',
'based_on' => 'mysql',
'prefix' => 'tenant',
'suffix' => '.sqlite',
'suffix' => '',
],
'redis' => [
'prefix_base' => 'tenant',
'prefixed_connections' => [
'default',
'cache',
],
],
'cache' => [
@ -21,7 +22,7 @@ return [
'suffix_base' => 'tenant',
// Disks which should be suffixed with the suffix_base + tenant UUID.
'disks' => [
// 'local',
'local',
// 's3',
],
],