Roadmap

v0.2 — Migrations and contract views

  • Connection opening: pglike (dev/WASM) and Postgres via pgx
  • Versioned migration runner (Apply) with schema_migrations
  • Expand / cutover / contract phases with destructive-DDL lint
  • Contract views with in-database blue/green swap, tested on pglike and Postgres 17
  • Advisory lock so concurrent Apply calls from several replicas serialise (Postgres only)
  • Shared core schema (tables common to gobank services) expressed as migrations here

Future

  • search_path-based blue/green once go-postgres gains schema support
  • CockroachDB backend
  • Tenant isolation for multi-bank scenarios
  • Connection pool tuning and health checks
  • Read replica routing
  • Audit logging at the DB layer