Files
mrp-qrcode/prisma/migrations/20260422183000_operation_kind_and_qc_failed/migration.sql
T
jason e0dfac2d48
Build and Push Docker Image / build (push) Successful in 1m4s
step 9 and cleanup
2026-04-22 09:27:01 -05:00

5 lines
299 B
SQL

-- 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';