From eaeeeb5046fe1c2569ec352ce5011a19dee3cd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= <33033094+stancl@users.noreply.github.com> Date: Sat, 19 Jan 2019 12:13:50 +0100 Subject: [PATCH] Change the default config --- src/config/tenancy.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/tenancy.php b/src/config/tenancy.php index 989fdecc..4c2ce2bc 100644 --- a/src/config/tenancy.php +++ b/src/config/tenancy.php @@ -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', ], ],