-- Adds Operation.kind ("work" | "qc") for dedicated inspection steps. -- The `qc_failed` status value is application-level only (status is TEXT), -- so no schema change is needed for that — migration is just the column add. ALTER TABLE "Operation" ADD COLUMN "kind" TEXT NOT NULL DEFAULT 'work';