mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Update docs for 2.x
This commit is contained in:
parent
60d320ad6a
commit
71287b36cb
9 changed files with 114 additions and 22 deletions
|
|
@ -10,3 +10,5 @@ section: content
|
|||
This package naturally integrates well with Laravel packages, since it does not rely on you explicitly specifying database connections.
|
||||
|
||||
There are some exceptions, though. [Telescope integration]({{ $page->link('telescope') }}), for example, requires you to change the database connection in `config/telescope.php` to a non-default one, because the default connection is switched to the tenant connection. Some packages should use a central connection for data storage.
|
||||
|
||||
> You may be thinking, why does the DB storage driver work with the default, central DB connection, but Telescope doesn't? It's because the DB storage driver intelligently uses the **original** default DB connection, if it has been changed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue