1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:34:05 +00:00

POC with no polish

Signed-off-by: michael lundbøl <michael.lundboel@gmail.com>
This commit is contained in:
michael lundbøl 2020-03-31 21:18:19 +02:00
parent 5dc80473d3
commit 43ee1c6596
No known key found for this signature in database
GPG key ID: 213C976E2CFD1CAF
12 changed files with 226 additions and 34 deletions

View file

@ -31,8 +31,7 @@ return [
'database' => [
'based_on' => null, // The connection that will be used as a base for the dynamically created tenant connection. Set to null to use the default connection.
'prefix' => 'tenant',
'suffix' => '',
'separate_by' => 'database', // database or schema (only supported by pgsql)
'suffix' => ''
],
'redis' => [
'prefix_base' => 'tenant',