This commit is contained in:
aozhiwei 2024-07-12 10:35:49 +08:00
parent 7a76510e94
commit d7c9dc7fad

View File

@ -37,6 +37,7 @@ CREATE TABLE `t_nft` (
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`token_type` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 1:英雄 2:枪支 3:芯片 6:荣誉 7:徽章',
`token_state` int(11) NOT NULL DEFAULT '0' COMMENT '0:正常状态 1:出售中 2:出租中',
`quality` int(11) NOT NULL DEFAULT '0' COMMENT 'quality',
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
`deleted` int(11) NOT NULL DEFAULT '0' COMMENT 'deleted',
`confirm_count` int(11) NOT NULL DEFAULT '0' COMMENT 'confirm_count',
@ -55,6 +56,7 @@ CREATE TABLE `t_nft` (
KEY `idx_net_id_token_type_token_id` (`net_id`, `token_type`, `token_id`),
KEY `idx_last_owner_address` (`last_owner_address`),
KEY `idx_item_id` (`item_id`),
KEY `idx_quality` (`quality`),
KEY `idx_last_refresh_meta_time` (`last_refresh_meta_time`),
KEY `owner_address` (`owner_address`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;