-- 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'; 