mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-16 20:04:03 +00:00
chore: (Improve documentation search for V3)
This commit is contained in:
parent
0549607899
commit
ecf4391f94
42 changed files with 156 additions and 156 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