This commit is contained in:
aozhiwei 2022-11-01 10:00:09 +08:00
parent a2c221758a
commit f6924863af
2 changed files with 10 additions and 5 deletions

View File

@ -794,6 +794,8 @@ CREATE TABLE `t_transaction` (
`status` int(11) NOT NULL DEFAULT '0' COMMENT 'status',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`)
PRIMARY KEY (`idx`),
UNIQUE KEY `trans_id` (`trans_id`),
KEY `account_id` (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -454,7 +454,7 @@ CREATE TABLE `t_order721` (
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `order_id` (`order_id`),
KEY `token_id` (`token_id`)
UNIQUE KEY `nonce` (`nonce`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
@ -474,8 +474,8 @@ CREATE TABLE `t_order1155` (
`timestamp` bigint NOT NULL DEFAULT '0' COMMENT 'timestamp',
`signature` varchar(255) NOT NULL DEFAULT '' COMMENT '签名',
`txhash` varchar(255) NOT NULL DEFAULT '' COMMENT 'bc_mint_txhash',
`itemid` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
`tokenid` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`token_type` int(11) NOT NULL DEFAULT '0' COMMENT 'nft类型 1:英雄 2:枪支 3:芯片',
`block_number` varchar(60) NOT NULL DEFAULT '' COMMENT 'nft生成成功块id',
`confirm_time` int(11) NOT NULL DEFAULT '0' COMMENT 'nft生成被确认时间',
@ -485,7 +485,8 @@ CREATE TABLE `t_order1155` (
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `order_id` (`order_id`),
UNIQUE KEY `tokenid` (`tokenid`)
UNIQUE KEY `nonce` (`nonce`),
KEY `token_id` (`token_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
@ -517,6 +518,7 @@ CREATE TABLE `t_nft_evolve` (
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `order_id` (`order_id`),
UNIQUE KEY `nonce` (`nonce`),
UNIQUE KEY `tokenid` (`tokenid`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
@ -549,6 +551,7 @@ CREATE TABLE `t_chip_evolve` (
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `order_id` (`order_id`),
UNIQUE KEY `nonce` (`nonce`),
UNIQUE KEY `tokenid` (`tokenid`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;