Skip to content

Postgres schema migration idempotency tests #76

@Miracle656

Description

@Miracle656

Background

A migration that fails halfway leaves prod in a wedged state. Up/down idempotency proofs guard against this.

What to build

Tests that run every migration up, then down, then up again, asserting schema-hash stability.

Key files

  • tests/integration/migrations.test.ts (new)

Acceptance criteria

  • All current migrations pass
  • CI runs it on every PR

Drips Wave · Complexity: Intermediate · 150 points

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions