We need to begin implementing the indexer ERD with core, dependency-first tables.
The schema must follow ERD_INDEXERS.md and preserve SSOT for keys, IDs, and constraints.
Decision:
Add a new migration that introduces the initial enum types and core tables:
app_user, deployment_config, deployment_maintenance_state, trust_tier, media_domain, and tag.
Use bigint identity PKs, UUID public IDs, and explicit constraints per ERD.
Consequences:
Positive: establishes the foundation required for indexer configuration and tagging.
Trade-off: further migrations are required to complete the full ERD.
Follow-up:
Add remaining enum types and schema tables from ERD_INDEXERS.md.
Implement seed procedures and stored procedures for the new tables.