diff --git a/Data/update.sql b/Data/update.sql index b517e47e9..59404fe23 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -1426,4 +1426,17 @@ CREATE TABLE `tab_user_action_log` ( `create_time` int(11) NULL DEFAULT 0 COMMENT '创建时间', `remarks` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '备注', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; \ No newline at end of file +) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; + +-- 2020-03-04 zyx 添加可用余额统计表 +CREATE TABLE `tab_promote_game_available_balance` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `promote_id` int(11) NOT NULL DEFAULT 0 COMMENT '推广员id', + `promote_account` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '推广员账号', + `game_id` int(11) NOT NULL DEFAULT 0 COMMENT '游戏id', + `game_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '游戏名称', + `server_id` int(11) NOT NULL DEFAULT 0 COMMENT '游戏区服', + `server_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '区服名称', + `available_balance` int(11) NOT NULL DEFAULT 0 COMMENT '可用余额', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; \ No newline at end of file