apskel-pos-backend/migrations/000033_add_remaining_amount_to_orders.down.sql

5 lines
215 B
MySQL
Raw 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;