diff --git a/sql/bcnftdb.sql b/sql/bcnftdb.sql index 83b8289b..4cb8f8db 100644 --- a/sql/bcnftdb.sql +++ b/sql/bcnftdb.sql @@ -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;