init
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Revert 'paid' status from orders table status constraint
|
||||
ALTER TABLE orders DROP CONSTRAINT IF EXISTS orders_status_check;
|
||||
ALTER TABLE orders ADD CONSTRAINT orders_status_check CHECK (status IN ('pending', 'preparing', 'ready', 'completed', 'cancelled'));
|
||||
Reference in New Issue
Block a user