# 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`.
