mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 05:14:05 +00:00
SQLite DB manager: use setInternal() instead of hardcoded tenancy_db_*
This commit is contained in:
parent
5dfb4843b9
commit
99b79a5d08
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
|
|||
// or creating a closure holding a reference to it and passing that to register_shutdown_function().
|
||||
|
||||
$name = '_tenancy_inmemory_' . $tenant->getTenantKey();
|
||||
$tenant->update(['tenancy_db_name' => "file:$name?mode=memory&cache=shared"]);
|
||||
$tenant->setInternal('db_name', "file:$name?mode=memory&cache=shared");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue