1
This commit is contained in:
parent
d600ee6ea7
commit
bebdb93f00
@ -262,11 +262,52 @@ CREATE TABLE `t_used_gold_bullion` (
|
||||
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
|
||||
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'open_id',
|
||||
`createtime` 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_net_id_token_id` (`net_id_token_id`)
|
||||
UNIQUE KEY `idx_net_id_token_id` (`net_id`, `token_id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `t_staking_daily_settlement`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `t_staking_daily_settlement`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `t_staking_daily_settlement` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
|
||||
`settle_date` int(11) NOT NULL DEFAULT '0' COMMENT '结算日期',
|
||||
`contribution` bigint NOT NULL DEFAULT '0' COMMENT '贡献点',
|
||||
`nft_data` mediumblob COMMENT 'nft数据',
|
||||
`last_contribution` bigint NOT NULL DEFAULT '0' COMMENT '最后一次计算的贡献点-用于日后分析',
|
||||
`last_nft_data` mediumblob COMMENT '最后一次nft数据-用于日后分析',
|
||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||
PRIMARY KEY (`idx`),
|
||||
UNIQUE KEY `idx_account_address_settle_date` (`account_address`, `settle_date`),
|
||||
KEY `idx_account_address` (`account_address`),
|
||||
KEY `idx_settle_date` (`settle_date`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `t_contribution`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `t_contribution`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `t_contribution` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
|
||||
`contribution` bigint 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_account_address` (`account_address`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
-- Dump completed on 2015-08-19 18:51:22
|
||||
|
Loading…
x
Reference in New Issue
Block a user