Skip to content

Schema: online ALTERs (zero-downtime column add/drop) #25

@devituz

Description

@devituz

Goal

Provide migration helpers that perform schema changes without taking a write lock for large tables — Postgres ADD COLUMN … DEFAULT … NOT NULL style (fast path on PG 11+), MySQL ALGORITHM=INSTANT where available.

Acceptance criteria

  • Blueprint.OnlineAddColumn / OnlineDropColumn helpers that emit dialect-correct SQL
  • Per-dialect docs explaining when the fast path applies
  • Migration tests against PG and MySQL covering both code paths

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions