Files
roast_command_center/db/migrations/012_custom_names.sql
T
2026-08-09 14:30:42 -04:00

6 lines
378 B
SQL

-- Additive only. Custom display names for roast plans and green bean lots, layered on top of
-- (not replacing) worksheet field 0.1 "Coffee / lot" — COALESCE(NULLIF(name,''), field 0.1) is
-- the fallback everywhere a plan title is shown.
ALTER TABLE roast_plans ADD COLUMN name text NOT NULL DEFAULT '';
ALTER TABLE green_bean_lots ADD COLUMN name text NOT NULL DEFAULT '';