mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-16 10:34:02 +00:00
Merge branch 'master' into resource-syncing-refactor
This commit is contained in:
commit
728d2db321
12 changed files with 99 additions and 23 deletions
|
|
@ -48,6 +48,8 @@ return [
|
|||
* SECURITY NOTE: Keep in mind that autoincrement IDs come with potential enumeration issues (such as tenant storage URLs).
|
||||
*
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\UUIDGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\ULIDGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\UUIDv7Generator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomHexGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomIntGenerator
|
||||
* @see \Stancl\Tenancy\UniqueIdentifierGenerators\RandomStringGenerator
|
||||
|
|
@ -311,7 +313,7 @@ return [
|
|||
*
|
||||
* Note: This will implicitly add your configured session store to the list of prefixed stores above.
|
||||
*/
|
||||
'scope_sessions' => true,
|
||||
'scope_sessions' => in_array(env('SESSION_DRIVER'), ['redis', 'memcached', 'dynamodb', 'apc'], true),
|
||||
|
||||
'tag_base' => 'tenant', // This tag_base, followed by the tenant_id, will form a tag that will be applied on each cache call.
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue