mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:14:03 +00:00
POC with no polish
Signed-off-by: michael lundbøl <michael.lundboel@gmail.com>
This commit is contained in:
parent
5dc80473d3
commit
43ee1c6596
12 changed files with 226 additions and 34 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue