This commit is contained in:
aozhiwei 2024-07-22 11:06:41 +08:00
parent bebdb93f00
commit 6eddb8a053

View File

@ -279,9 +279,9 @@ CREATE TABLE `t_staking_daily_settlement` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址', `account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
`settle_date` int(11) NOT NULL DEFAULT '0' COMMENT '结算日期', `settle_date` int(11) NOT NULL DEFAULT '0' COMMENT '结算日期',
`contribution` bigint NOT NULL DEFAULT '0' COMMENT '贡献点', `contribution` double NOT NULL DEFAULT '0' COMMENT '贡献点',
`nft_data` mediumblob COMMENT 'nft数据', `nft_data` mediumblob COMMENT 'nft数据',
`last_contribution` bigint NOT NULL DEFAULT '0' COMMENT '最后一次计算的贡献点-用于日后分析', `last_contribution` double NOT NULL DEFAULT '0' COMMENT '最后一次计算的贡献点-用于日后分析',
`last_nft_data` mediumblob COMMENT '最后一次nft数据-用于日后分析', `last_nft_data` mediumblob COMMENT '最后一次nft数据-用于日后分析',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
@ -302,7 +302,7 @@ DROP TABLE IF EXISTS `t_contribution`;
CREATE TABLE `t_contribution` ( CREATE TABLE `t_contribution` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址', `account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
`contribution` bigint NOT NULL DEFAULT '0' COMMENT '贡献点', `contribution` double NOT NULL DEFAULT '0' COMMENT '贡献点',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`), PRIMARY KEY (`idx`),