Schema
Schema / Documentation

Schema concept guide

A migration can execute successfully while an older worker continues to read the column it removed. Compatibility depends on the readers still in circulation.

Reading the preview

Pull request 84 renames orders.total_cents to amount_cents. The dependency review identifies a materialized view and a receipt-worker query. The running worker explicitly selects the old column name.

An overlapping deployment needs a period in which both readers can succeed. The plan preserves the old column while the new one is populated, checked and adopted. The later removal depends on evidence that old workers have drained.

View the illustrated workflow

Core concepts

Dependency evidence

Review named queries and consuming services beside each changed column. An unknown consumer remains an open question.

Destructive changes

Dropping a column removes data even if every known query compiles. Review the backfill and retention decision separately.

Migration history

Preserve the transition order and revision so a reviewer can place a proposed change in the sequence already applied.

Availability and scope

Schema is a concept. This guide describes the design example. Product releases, installation instructions and an API reference have yet to be published.