Labels: Backend, Stellar Wave, database, architecture, devops
Complexity: Hard (200)
Description
Migrations are scattered per-module (branch-preview/migrations/, crash-reporting/migrations/) with no single ordered history or shared runner. There is no reliable way to know whether a database is fully migrated, which is exactly the class of problem behind CI database failures. Consolidate on one migration mechanism with a deterministic order.
Acceptance Criteria
- All existing module migrations are consolidated into a single ordered migration history.
- One documented command applies all pending migrations from a clean database.
- Migration state is queryable so an environment can be verified as up to date.
- Applying migrations twice is a no-op.
- The consolidation is verified by provisioning a clean database in CI and running the full suite.
Labels: Backend, Stellar Wave, database, architecture, devops
Complexity: Hard (200)
Description
Migrations are scattered per-module (
branch-preview/migrations/,crash-reporting/migrations/) with no single ordered history or shared runner. There is no reliable way to know whether a database is fully migrated, which is exactly the class of problem behind CI database failures. Consolidate on one migration mechanism with a deterministic order.Acceptance Criteria