TenantAtlas/specs/999-seeder-external-id/tasks.md
ahmido 81c010fa00 fix: Harden SyncPoliciesJob supported types handling (#75)
Harden SyncPoliciesJob type input parsing + fail fast when supported types are empty/mismatched. Pass supported policy types from Tenant sync action and add regression tests.

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.fritz.box>
Reviewed-on: #75
2026-01-26 19:23:40 +00:00

16 lines
550 B
Markdown

# Tasks — 999 Fix seeding: tenants.external_id not-null
## Setup
- [x] T001 Verify schema requirement for `tenants.external_id` in migrations.
## Tests
- [x] T010 Add regression test ensuring `migrate:fresh --seed` (or the tenant seeder) creates a tenant with non-null `external_id`.
## Core
- [x] T020 Fix seeder to set `external_id` for the default tenant.
## Validation
- [x] T900 Run `./vendor/bin/sail artisan migrate:fresh --seed`.
- [x] T910 Run targeted Pest test(s) for the change.
- [x] T920 Run `./vendor/bin/sail bin pint --dirty`.