1
This commit is contained in:
parent
dd75807752
commit
e3a33562d8
@ -2139,3 +2139,26 @@ CREATE TABLE `t_user_bind_gold_record` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `t_hashrate_shop_buy_record`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `t_hashrate_shop_buy_record`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `t_hashrate_shop_buy_record` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
|
||||
`goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
|
||||
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
|
||||
`this_day_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '今日购买次数',
|
||||
`this_week_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '本周购买次数',
|
||||
`total_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '总购买次数',
|
||||
`last_buy_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次购买时间',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
KEY `account_id` (`account_id`),
|
||||
UNIQUE KEY `account_id_goods_id` (`account_id`, `goods_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
@ -14,6 +14,22 @@ CREATE TABLE `t_user_bind_gold_record` (
|
||||
PRIMARY KEY (`idx`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
CREATE TABLE `t_hashrate_shop_buy_record` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
|
||||
`goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
|
||||
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
|
||||
`this_day_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '今日购买次数',
|
||||
`this_week_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '本周购买次数',
|
||||
`total_buy_times` int(11) NOT NULL DEFAULT '0' COMMENT '总购买次数',
|
||||
`last_buy_time` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次购买时间',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
KEY `account_id` (`account_id`),
|
||||
UNIQUE KEY `account_id_goods_id` (`account_id`, `goods_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
insert into version (version) values(2024092401);
|
||||
|
||||
commit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user