Files
Mycontent/soul-api/scripts/add-gift-pay-quantity.sql
2026-03-18 12:40:51 +08:00

7 lines
361 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 代付逻辑改造gift_pay_requests 增加 quantity、redeemed_count
-- 执行mysql -u user -p db < soul-api/scripts/add-gift-pay-quantity.sql
-- 若列已存在会报 Duplicate column可忽略
ALTER TABLE gift_pay_requests ADD COLUMN quantity INT NOT NULL DEFAULT 1;
ALTER TABLE gift_pay_requests ADD COLUMN redeemed_count INT NOT NULL DEFAULT 0;