From cf108e9844aabbb53cd0ec961c5d720aec7779e8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 27 Oct 2020 15:17:22 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index fbba173..dc7249b 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -56,8 +56,6 @@ CREATE TABLE `user` ( `box_num` int(11) NOT NULL DEFAULT '0' COMMENT '空投宝箱数量', `diamond_num` bigint NOT NULL DEFAULT '0' COMMENT '钻石数量', `diamond_shop_flush_times` int(11) NOT NULL DEFAULT '0' COMMENT '每日钻石商店刷新次数', - `sum_coin` double NOT NULL DEFAULT '0' COMMENT '累计充值金额', - `recharge_times_total` int(11) NOT NULL DEFAULT '0' COMMENT '累计充值次数', `pass_status` int(11) NOT NULL DEFAULT '0' COMMENT '周奖励状态', `score` int(11) NOT NULL DEFAULT '0' COMMENT '通行证积分', `season_status` int(11) NOT NULL DEFAULT '0' COMMENT '赛季奖励状态', @@ -102,6 +100,14 @@ CREATE TABLE `user` ( `view_times2` int(11) NOT NULL DEFAULT '0' COMMENT '精英礼包视频场次', `guildcoin_num` int(11) NOT NULL DEFAULT '0' COMMENT '战队货币', `new_second_equip` int(11) NOT NULL DEFAULT '2' COMMENT '新玩家隔天结算武器', + `sum_coin` double NOT NULL DEFAULT '0' COMMENT '累计充值金额', + `recharge_times_total` int(11) NOT NULL DEFAULT '0' COMMENT '累计充值次数', + + /* + `rmb_num` int(11) NOT NULL DEFAULT '0' COMMENT '点券数量', + `max_single_recharge` int(11) NOT NULL DEFAULT '0' COMMENT '最大单次充值数量', + `passcard` int(11) NOT NULL DEFAULT '0' COMMENT '购买进阶手册状态', + */ PRIMARY KEY (`idx`), UNIQUE KEY `accountid` (`accountid`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; @@ -213,7 +219,7 @@ CREATE TABLE `passinfo` ( `accountid` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id', `passid` int(11) NOT NULL DEFAULT '0' COMMENT 'passid', `active_status` int(11) NOT NULL DEFAULT '0' COMMENT '普通奖励状态', - `honor_status` int(11) NOT NULL DEFAULT '0' COMMENT '周奖励状态', + `honor_status` int(11) NOT NULL DEFAULT '0' COMMENT '充值奖励状态', `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modify_time` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`), @@ -299,4 +305,23 @@ CREATE TABLE `festival_activity` ( PRIMARY KEY (`idx`), UNIQUE KEY `accountid` (`accountid`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; + +/*DROP TABLE IF EXISTS `orderinfo`;*/ +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +/* +CREATE TABLE `orderinfo` ( + `idx` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id', + `accountid` varchar(60) DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', + `orderid` varchar(60) DEFAULT '' COMMENT '订单id', + `rmb_num` int(11) NOT NULL DEFAULT '0' COMMENT '点券数量', + `money` int(11) NOT NULL DEFAULT '0' COMMENT '金钱数量', + `custom_data` mediumblob COMMENT '其他字段', + `itemid` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + UNIQUE KEY `account_orderid` (`accountid`, `orderid`) +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +*/ -- Dump completed on 2015-08-19 18:51:22