tenancy-docs/source/docs/v3/migrations.blade.md
Samuel Štancl f8f354c323 3.x redesign
2020-06-08 21:20:15 +02:00

405 B

title extends section
Migrations _layouts.documentation content

Migrations

Move your tenant migrations to the database/migrations/tenant directory. You can execute them using php artisan tenants:migrate.

Note that all migrations share the same PHP namespace, so even if you use the same table name in the central and tenant databases, you have to use different migration (class) names.