This commit is contained in:
aozhiwei 2024-06-29 16:33:25 +08:00
parent 91bfa101b0
commit ab3edae859

View File

@ -50,6 +50,7 @@ CREATE TABLE `t_nft` (
KEY `idx_net_id_token_type_owner_address_last_owner_address` (`net_id`, `token_type`, `owner_address`, `last_owner_address`),
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 `owner_address` (`owner_address`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
@ -216,6 +217,7 @@ CREATE TABLE `t_sale` (
PRIMARY KEY (`idx`),
UNIQUE KEY `idx_order_id` (`order_id`),
KEY `idx_buyer` (`buyer`),
KEY `idx_item_id` (`item_id`),
KEY `idx_seller` (`seller`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;