mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Mention that making Passport use the default DB connection is only necessary with 10.x
This commit is contained in:
parent
c819780a68
commit
b6fe11ba2c
1 changed files with 2 additions and 2 deletions
|
|
@ -18,10 +18,10 @@ To use Passport inside the tenant part of your application, you may do the follo
|
|||
|
||||
1. Publish the Passport migrations by running `php artisan vendor:publish --tag=passport-migrations` and move them to your tenant migration directory (`database/migrations/tenant/`).
|
||||
|
||||
2. Publish the Passport config by running `php artisan vendor:publish --tag=passport-config`. Then, make Passport use the default database connection by setting the storage database connection to `null`. `passport:keys` puts the keys in the `storage/` directory by default – you can change that by setting the key path.
|
||||
2. Publish the Passport config by running `php artisan vendor:publish --tag=passport-config`. If you're using Passport 10.x, make Passport use the default database connection by setting the storage database connection to `null`. The `passport:keys` command puts the keys in the `storage/` directory by default – you can change that by setting the key path in the config.
|
||||
```php
|
||||
return [
|
||||
'storage' => [
|
||||
'storage' => [ // Needed only when using Passport 10.x
|
||||
'database' => [
|
||||
'connection' => null,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue