mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Improved Documentation Search (#61)
* chore: (Improve documentation search for V3) * fix: checks for mispelled words * fix: mispelled words * fix spaces and syntax * Update multi-database-tenancy.blade.md Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
0549607899
commit
a4645b3abd
42 changed files with 158 additions and 158 deletions
|
|
@ -4,20 +4,20 @@ extends: _layouts.documentation
|
|||
section: content
|
||||
---
|
||||
|
||||
# Integration with Spatie packages
|
||||
# Integration with Spatie packages {#integration-with-spatie-packages}
|
||||
|
||||
## **laravel-activitylog**
|
||||
## **laravel-activitylog** {#laravel-activitylog}
|
||||
|
||||
### For the tenant app:
|
||||
### For the tenant app: {#for-the-tenant-app}
|
||||
|
||||
- Set the `database_connection` key in `config/activitylog.php` to `null`. This makes activitylog use the default connection.
|
||||
- Publish the migrations and move them to `database/migrations/tenant`. (And, of course, don't forget to run `artisan tenants:migrate`.)
|
||||
|
||||
### For the central app:
|
||||
### For the central app: {#for-the-central-app}
|
||||
|
||||
- Set the `database_connection` key in `config/activitylog.php` to the name of your central database connection.
|
||||
|
||||
## **laravel-permission**
|
||||
## **laravel-permission** {#laravel-permission}
|
||||
|
||||
Install the package like usual, but publish the migrations and move them to `migrations/tenant`:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue