File tree Expand file tree Collapse file tree
server/typescript/packages/migrate-ts/src/diff Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,9 +135,9 @@ export async function diff(
135135 // CHECK constraints are inlined into the CREATE TABLE DDL at emit time
136136 // (both postgres and sqlite support inline CHECK), so they ride on
137137 // `create-table.table.checks` rather than as separate add-check changes.
138- // The diff intentionally never produces add-check / drop-check today;
139- // existing-table enum-value evolution is deferred (see diffTableChecks
140- // removal note in Pass 2) .
138+ // For brand-new tables no add-check is emitted here; existing-table CHECK
139+ // evolution (add/drop on tables present on both sides) is handled by
140+ // diffTableChecks in Pass 2.
141141 }
142142 }
143143 // Pass 1b: tables present in actual but not expected → drop-table
You can’t perform that action at this time.
0 commit comments