Files
dafuweng-saiadmin6.x/server/db/dice_reward_config_add_bigwin_weight.sql
2026-04-28 10:24:01 +08:00

7 lines
407 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.
-- 奖励配置表增加 weight 字段:仅 tier=BIGWIN 时使用0-1000010000=100% 中大奖
-- 若之前执行过 dice_reward_config_drop_weight.sql 已删除该列,需执行本脚本恢复
-- 若表已有 weight 列会报错,可忽略
ALTER TABLE `dice_reward_config`
ADD COLUMN `weight` int unsigned NOT NULL DEFAULT 10000 COMMENT 'BIGWIN 大奖权重 0-1000010000=100%' AFTER `tier`;