1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:14:04 +00:00

Update storage-drivers.md

This commit is contained in:
Samuel Štancl 2019-08-17 21:32:36 +02:00 committed by GitHub
parent 23c4bc1b95
commit 84d7a64665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. 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 php artisan vendor:publish --provider='Stancl\Tenancy\TenancyServiceProvider' --tag=migrations
``` ```