docs: update quickstart migrations notice (#260)

Added an additional sentence as the notice right now would maybe have people ignoring their own migrations.
This commit is contained in:
wellá 2023-09-16 20:21:36 +02:00 committed by GitHub
parent 7e8471dfbd
commit 3b5cd8fec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ Route::get('/', function () {
## Migrations {#migrations} ## Migrations {#migrations}
To have users in tenant databases, let's move the `users` table migration (the file `database/migrations/2014_10_12_000000_create_users_table.php` or similar) to `database/migrations/tenant`. This will prevent the table from being created in the central database, and it will be instead created in the tenant database when a tenant is created — thanks to our event setup. To have users in tenant databases, let's move the `users` table migration (the file `database/migrations/2014_10_12_000000_create_users_table.php` or similar) to `database/migrations/tenant`. This will prevent the table from being created in the central database, and it will be instead created in the tenant database when a tenant is created — thanks to our event setup. If you have any other migrations that are necessary for your application, move those migrations as well.
## Creating tenants {#creating-tenants} ## Creating tenants {#creating-tenants}