Add order items

This commit is contained in:
Aditya Siregar
2025-08-08 22:33:08 +07:00
parent c18e915d1e
commit 8e9c14b860
14 changed files with 427 additions and 200 deletions
@@ -0,0 +1,3 @@
-- Remove quantity field from payment_order_items table
ALTER TABLE payment_order_items
DROP COLUMN quantity;
@@ -0,0 +1,6 @@
-- 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';