mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Add notes for Laravel Sail users (#182)
* sail notes * Update source/docs/v3/configuration.blade.md Co-authored-by: lukinovec <lukinovec@gmail.com> * Update source/docs/v3/quickstart.blade.md Co-authored-by: lukinovec <lukinovec@gmail.com> Co-authored-by: lukinovec <lukinovec@gmail.com>
This commit is contained in:
parent
53f9125946
commit
d09e4864ae
4 changed files with 5 additions and 2 deletions
|
|
@ -176,6 +176,8 @@ To have users in tenant databases, let's move the `users` table migration (the f
|
|||
|
||||
## Creating tenants {#creating-tenants}
|
||||
|
||||
> Note: If you're using [Laravel Sail](https://laravel.com/docs/9.x/sail), ensure that `DB_USERNAME` has the necessary permissions to create databases. You can grant access to users by running `grant create on *.* to 'sail'@'%';` in the MySQL console.
|
||||
|
||||
For testing purposes, we'll create a tenant in `tinker` — no need to waste time creating controllers and views for now.
|
||||
|
||||
```php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue