mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
3.x redesign
This commit is contained in:
parent
857122540f
commit
f8f354c323
229 changed files with 201175 additions and 22440 deletions
11
source/docs/v3/migrations.blade.md
Normal file
11
source/docs/v3/migrations.blade.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: Migrations
|
||||
extends: _layouts.documentation
|
||||
section: 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue