-- 测试抽奖记录关联权重测试记录：用于按 record 统计 platform_profit（付费金额 paid_amount 求和 - win_coin 求和）
-- 若列已存在可跳过

ALTER TABLE `dice_play_record_test` ADD COLUMN `reward_config_record_id` int unsigned DEFAULT NULL COMMENT '关联 dice_reward_config_record.id' AFTER `admin_id`;
CREATE INDEX `idx_reward_config_record_id` ON `dice_play_record_test` (`reward_config_record_id`);
