Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/docs/v3/configuration.blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,5 @@ This config array lets you set parameters used by default when running the `tena
`tenancy.seeder_parameters`

The same as migration parameters, but for `tenants:seed` and the `SeedDatabase` job.

> Note: Set `--force`to `true` to allow seeding tenant databases in production (e. g. during tenant creation).
2 changes: 1 addition & 1 deletion source/docs/v3/console-commands.blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ php artisan tenants:migrate --tenants=8075a580-1cb8-11e9-8822-49c5d8f8ff23
- Rollback: `tenants:rollback`
- Seed: `tenants:seed`

> Note: You can configure the default parameters for `tenants:seed` (e.g. use a custom tenant seeder) in [the tenancy config]({{ $page->link('configuration#seeder-parameters') }})
> Note: You can configure the default parameters for `tenants:seed` (e.g. use a custom tenant seeder) in [the tenancy config]({{ $page->link('configuration#seeder-parameters') }}). Be aware that the `--force` parameter needs to be set in order to seed tenants in `production`.

## **Migrate fresh** (tenant-aware) {#migrate-fresh}

Expand Down