diff --git a/sql/marketdb.sql b/sql/marketdb.sql index e6ca9f7f..610db94b 100644 --- a/sql/marketdb.sql +++ b/sql/marketdb.sql @@ -46,7 +46,6 @@ CREATE TABLE `t_box_order` ( `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `game_id` int(11) NOT NULL DEFAULT '0' COMMENT 'game id', `batch_idx` int(11) NOT NULL DEFAULT '0' COMMENT '批次号idx', - `token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id', `order_id` varchar(60) NOT NULL DEFAULT '' COMMENT '订单id', `type` varchar(60) NOT NULL DEFAULT '' COMMENT 'type', `buyer_address` varchar(60) NOT NULL DEFAULT '' COMMENT '购买者', @@ -61,6 +60,7 @@ CREATE TABLE `t_box_order` ( `bc_pay_success_block_number` varchar(60) NOT NULL DEFAULT '' COMMENT '支付成功块id', `bc_pay_confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT '支付成功被确认时间', `bc_minted1` int(11) NOT NULL DEFAULT '0' COMMENT 'nft是否已创建', + `bc_mint_tokenid1` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id', `bc_mint_need1` int(11) NOT NULL DEFAULT '0' COMMENT 'need', `bc_mint_itemid1` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', `bc_mint_token_type1` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 0:英雄 1:枪支 2:芯片', @@ -70,6 +70,7 @@ CREATE TABLE `t_box_order` ( `bc_mint_success_block_number1` varchar(60) NOT NULL DEFAULT '' COMMENT 'nft生成成功块id', `bc_mint_confirm_time1` int(11) NOT NULL DEFAULT '0' COMMENT 'nft生成被确认时间', `bc_minted2` int(11) NOT NULL DEFAULT '0' COMMENT 'nft是否已创建', + `bc_mint_tokenid2` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id', `bc_mint_need2` int(11) NOT NULL DEFAULT '0' COMMENT 'need', `bc_mint_itemid2` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', `bc_mint_token_type2` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 0:英雄 1:枪支 2:芯片', @@ -79,6 +80,7 @@ CREATE TABLE `t_box_order` ( `bc_mint_success_block_number2` varchar(60) NOT NULL DEFAULT '' COMMENT 'nft生成成功块id', `bc_mint_confirm_time2` int(11) NOT NULL DEFAULT '0' COMMENT 'nft生成被确认时间', `bc_minted3` int(11) NOT NULL DEFAULT '0' COMMENT 'nft是否已创建', + `bc_mint_tokenid3` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id', `bc_mint_need3` int(11) NOT NULL DEFAULT '0' COMMENT 'need', `bc_mint_itemid3` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', `bc_mint_token_type3` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 0:英雄 1:枪支 2:芯片', @@ -97,7 +99,6 @@ CREATE TABLE `t_box_order` ( UNIQUE KEY `signature` (`signature`), KEY `batch_idx` (`batch_idx`), KEY `bc_paid` (`bc_paid`), - KEY `bc_minted` (`bc_minted`), KEY `done` (`done`) ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; @@ -115,9 +116,7 @@ CREATE TABLE `t_nft` ( `token_type` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 0:英雄 1:枪支 2:芯片', `game_id` int(11) NOT NULL DEFAULT '0' COMMENT 'game id', `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', - `owner_id` varchar(255) NOT NULL DEFAULT '' COMMENT 'owner_id', `owner_address` varchar(255) NOT NULL DEFAULT '' COMMENT 'owner_address', - `owner_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'owner_name', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`),