blob: 166be3282fb284c99f52bded1e386c3c3ba95829 (
plain) (
tree)
|
|
-- Add under_review status to orders for orders whose steps exist but are not yet merged
ALTER TABLE orders DROP CONSTRAINT IF EXISTS orders_status_check;
ALTER TABLE orders ADD CONSTRAINT orders_status_check
CHECK (status IN ('open', 'in_progress', 'under_review', 'done', 'archived'));
|