Files

5 lines
215 B
SQL
Raw Permalink Normal View History

2025-08-07 22:45:02 +07:00
-- Remove constraint
ALTER TABLE orders DROP CONSTRAINT IF EXISTS check_remaining_amount_non_negative;
-- Remove remaining_amount column from orders table
ALTER TABLE orders DROP COLUMN IF EXISTS remaining_amount;