diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 3144c0b6..6349b7bd 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -1117,3 +1117,42 @@ CREATE TABLE `t_user_sign_log` ( ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `t_first_topup` +-- + +DROP TABLE IF EXISTS `t_first_topup`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!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', + `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', + `status3` int(11) NOT NULL DEFAULT '0' COMMENT '领取状态3', + PRIMARY KEY (`idx`,`account_id`) USING BTREE, + UNIQUE KEY `account` (`account_id`) USING HASH +) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + + +-- +-- Table structure for table `t_shop_buy_order` +-- + +DROP TABLE IF EXISTS `t_shop_buy_order`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!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', + `createtime` int(11) NOT NULL COMMENT '订单开始时间', + `item_id` int(11) NOT NULL COMMENT '道具id', + `goods_num` int(11) NOT NULL COMMENT '购买个数', + `status` int(11) NOT NULL COMMENT '订单状态 0-客户端申请了订单 1-订单完成 2-订单失败', + PRIMARY KEY (`idx`) +) ENGINE=InnoDB AUTO_INCREMENT=184 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; +