apskel-pos-backend/migrations/000037_add_quantity_to_payment_order_items.up.sql

6 lines
268 B
MySQL
Raw Normal View History

2025-08-08 22:33:08 +07:00
-- Add quantity field to payment_order_items table
ALTER TABLE payment_order_items
ADD COLUMN quantity INTEGER NOT NULL DEFAULT 0;
-- Add comment to explain the field
COMMENT ON COLUMN payment_order_items.quantity IS 'Quantity paid for this specific payment split';