Saas Dash
Operations

Migration Reset

Destructive reset strategy for platform and runtime schema alignment

Strategy

This platform is still greenfield.

That means migration work should optimize for:

  • clean schema language
  • clean bounded contexts
  • clean operational behavior

Not for backwards compatibility.

Reset sequence

  1. drop and recreate platform and tenant runtime databases
  2. run rewritten platform migrations
  3. run rewritten runtime migrations for each tenant
  4. reseed canonical platform data
  5. reseed runtime data where needed
  6. verify bootstrap and smoke

Why

Keeping old migration history that encodes old thinking is low-value debt.

The reset should leave the platform with:

  • tenant-first naming
  • registry-first app model
  • worker config in platform state
  • runtime parity across tenant DBs

On this page