-- Add refund-related columns to order_items table
ALTER TABLE order_items ADD COLUMN IF NOT EXISTS refunded BOOLEAN DEFAULT FALSE;
ALTER TABLE order_items ADD COLUMN IF NOT EXISTS refunded_quantity INTEGER;
ALTER TABLE order_items ADD COLUMN IF NOT EXISTS refund_reason TEXT;