mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:34:04 +00:00
Merge branch 'docs' of github.com:stancl/tenancy into docs
This commit is contained in:
commit
4d00bb532d
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ To use this driver, you need to have a `tenants` table. You may also use a custo
|
|||
|
||||
If you'd like to use an existing connection, you can set this config to the name of the connection, e.g. `mysql`. You can also set this value to `null` and the package will use the `database.default` connection.
|
||||
|
||||
To create the `tenants` table, you can use the migration that comes with this package. If you haven't published it during the installation, publish it now:
|
||||
To create the `tenants` table, you can use the migration that comes with this package. If you haven't published it during installation, publish it now:
|
||||
```
|
||||
php artisan vendor:publish --provider='Stancl\Tenancy\TenancyServiceProvider' --tag=migrations
|
||||
```
|
||||
|
|
@ -58,4 +58,4 @@ To use this driver, create a new Redis connection in the `database.redis` config
|
|||
'port' => env('TENANCY_REDIS_PORT', 6380), // different port = separate Redis instance
|
||||
'database' => env('TENANCY_REDIS_DB', 3), // alternatively, different database number
|
||||
],
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue