Skip to content

BE-110: Unify Database Migration Strategy Across Modules #809

Description

@Cedarich

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions