This commit is contained in:
aozhiwei 2024-06-28 20:45:05 +08:00
commit 7c494318bb

View File

@ -1755,36 +1755,6 @@ CREATE TABLE `t_sub_user_bind` (
-- Table structure for table `t_gold_bullion`
--
DROP TABLE IF EXISTS `t_gold_bullion`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_gold_bullion` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`src_account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
`src_address` varchar(60) COMMENT 'src_address',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`net_id` int(11) NOT NULL DEFAULT '0' COMMENT '链id',
`gold` bigint NOT NULL DEFAULT '0' COMMENT '金币',
`address` varchar(60) COMMENT 'address',
`status` int(11) NOT NULL DEFAULT '0' COMMENT '状态 0:初始 1:已打开',
`returned` int(11) NOT NULL DEFAULT '0' COMMENT '是否已超时返还',
`return_time` int(11) NOT NULL DEFAULT '0' COMMENT '返还时间',
`activated` int(11) NOT NULL DEFAULT '0' COMMENT '是否已上连',
`activate_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`),
UNIQUE KEY `idx_token_id` (`token_id`),
UNIQUE KEY `idx_token_id_net_id` (`token_id`, `net_id`),
KEY `idx_address` (`address`),
KEY `idx_address_createtime_activate_status` (`address`, `createtime`, `activate`, `status`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_gold_bullion`
--
DROP TABLE IF EXISTS `t_gold_bullion`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;