diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 3395e1fd..29f9edef 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1128,7 +1128,7 @@ DROP TABLE IF EXISTS `t_first_topup`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `t_first_topup` ( `idx` bigint(20) NOT NULL AUTO_INCREMENT, - `account_id` varchar(64) NOT NULL COMMENT '账户id', + `address` varchar(64) NOT NULL COMMENT '账户id', `createtime` int(11) NOT NULL COMMENT '首充时间', `status1` int(11) NOT NULL DEFAULT '0' COMMENT '领取状态1 0 不能领取 1 可领取状态 2 已领取', `status2` int(11) NOT NULL DEFAULT '0' COMMENT '领取状态2', @@ -1148,7 +1148,7 @@ DROP TABLE IF EXISTS `t_shop_buy_order`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `t_shop_buy_order` ( `idx` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '订单id', - `account_id` varchar(60) NOT NULL COMMENT '账户id', + `address` varchar(60) NOT NULL COMMENT '账户id', `createtime` int(11) NOT NULL COMMENT '订单开始时间', `item_id` int(11) NOT NULL COMMENT '道具id', `goods_num` int(11) NOT NULL COMMENT '购买个数', @@ -1200,3 +1200,24 @@ CREATE TABLE `t_bc_order` ( UNIQUE KEY `order_id` (`order_id`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; + +DROP TABLE IF EXISTS `t_shop_dailyselection`; +CREATE TABLE `t_shop_dailyselection` ( + `idx` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id', + `address` varchar(60) NOT NULL COMMENT 'address', + `refresh_mode` int(11) NOT NULL COMMENT '0-每日自动刷新时间 1-手动刷新时间', + `refresh_time` int(11) NOT NULL DEFAULT '0' COMMENT '刷新时间', + `grid_1` int(11) NOT NULL, + `grid_2` int(11) NOT NULL, + `grid_3` int(11) NOT NULL, + `grid_4` int(11) NOT NULL, + `grid_5` int(11) NOT NULL, + `grid_6` int(11) NOT NULL, + `count_1` tinyint(4) NOT NULL, + `count_2` tinyint(4) NOT NULL, + `count_3` tinyint(4) NOT NULL, + `count_4` tinyint(4) NOT NULL, + `count_5` tinyint(4) NOT NULL, + `count_6` tinyint(4) NOT NULL, + PRIMARY KEY (`idx`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;