This commit is contained in:
aozhiwei 2022-11-03 14:06:53 +08:00
parent 76a6c9dec7
commit 8b84cc6cac

View File

@ -192,7 +192,6 @@ CREATE TABLE `t_nft1155` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`owner_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'owner_address',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`token_type` int(11) NOT NULL DEFAULT '0' COMMENT '3:芯片 4:碎片',
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
`balance` bigint NOT NULL DEFAULT '0' COMMENT '余额',
`item_uniid` bigint NOT NULL DEFAULT '0' COMMENT 'item_uniid',
@ -355,19 +354,20 @@ DROP TABLE IF EXISTS `t_nft1155_transfer`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_nft1155_transfer` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`event_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'event_name',
`instance_name` varchar(255) NOT NULL DEFAULT '' COMMENT 'instance_name',
`txhash` varchar(255) NOT NULL DEFAULT '' COMMENT 'txhash',
`block_number` bigint NOT NULL DEFAULT '0' COMMENT 'block_number',
`log_index` bigint NOT NULL DEFAULT '0' COMMENT 'log_index',
`_from` varchar(60) NOT NULL DEFAULT '' COMMENT '_from',
`_to` varchar(60) NOT NULL DEFAULT '' COMMENT '_to',
`return_values` mediumblob COMMENT 'return_values',
`raw_data` mediumblob COMMENT 'raw_data',
`owner_confirmed` int(11) NOT NULL DEFAULT '0' COMMENT 'owner_confirmed',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `txhash_log_index` (`txhash`, `log_index`),
KEY `token_id` (`token_id`),
KEY `_from` (`_from`),
KEY `_to` (`_to`),
KEY `txhash` (`txhash`),