1
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m59s

This commit is contained in:
2026-05-18 10:34:04 +08:00
parent ed071918ed
commit 480d4c4583
6 changed files with 27 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
-- 回滚为历史规则:代理预充值最低 100 元。
ALTER TABLE tb_agent_recharge_record
DROP CONSTRAINT IF EXISTS chk_agent_recharge_amount;
ALTER TABLE tb_agent_recharge_record
ADD CONSTRAINT chk_agent_recharge_amount CHECK (amount >= 10000);
COMMENT ON COLUMN tb_agent_recharge_record.amount IS '充值金额(单位:分,最小 10000 分 = 100 元)';

View File

@@ -0,0 +1,8 @@
-- 放开代理预充值最低 100 元限制,仅保留金额必须大于 0。
ALTER TABLE tb_agent_recharge_record
DROP CONSTRAINT IF EXISTS chk_agent_recharge_amount;
ALTER TABLE tb_agent_recharge_record
ADD CONSTRAINT chk_agent_recharge_amount CHECK (amount >= 1);
COMMENT ON COLUMN tb_agent_recharge_record.amount IS '充值金额(单位:分,最小 1 分)';