additional info wrt. seeding (see #292)

This commit is contained in:
Johannes 2025-03-12 08:53:11 +01:00
parent d633a5ad23
commit f693b77b81
2 changed files with 3 additions and 1 deletions

View file

@ -112,3 +112,5 @@ This config array lets you set parameters used by default when running the `tena
`tenancy.seeder_parameters` `tenancy.seeder_parameters`
The same as migration parameters, but for `tenants:seed` and the `SeedDatabase` job. 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).

View file

@ -28,7 +28,7 @@ php artisan tenants:migrate --tenants=8075a580-1cb8-11e9-8822-49c5d8f8ff23
- Rollback: `tenants:rollback` - Rollback: `tenants:rollback`
- Seed: `tenants:seed` - 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} ## **Migrate fresh** (tenant-aware) {#migrate-fresh}