This commit is contained in:
aozhiwei 2023-07-12 17:37:17 +08:00
parent 36d2c44df7
commit 6b8cef3255
2 changed files with 33 additions and 0 deletions

View File

@ -306,6 +306,34 @@ CREATE TABLE `t_gameitemmall` (
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_gameitemmarket`
--
DROP TABLE IF EXISTS `t_gameitemmarket`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_gameitemmarket` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`txhash` varchar(255) NOT NULL DEFAULT '' COMMENT 'txhash',
`log_index` bigint NOT NULL DEFAULT '0' COMMENT 'log_index',
`hash_code` varchar(60) NOT NULL DEFAULT '' COMMENT 'hash_code',
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
`event_name` varchar(60) NOT NULL DEFAULT '' COMMENT 'event_name',
`contract_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'contract_address',
`contract_name` varchar(60) NOT NULL DEFAULT '' COMMENT 'contract_name',
`block_number` bigint NOT NULL DEFAULT '0' COMMENT 'block_number',
`return_values` mediumblob COMMENT 'return_values',
`src_idx` bigint NOT NULL DEFAULT '0' COMMENT 'src_idx',
`status` int(11) NOT NULL DEFAULT '0' COMMENT 'status 0待处理 1已处理',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `unikey` (`txhash`, `hash_code`, `log_index`, `net_id`, `event_name`, `contract_address`),
KEY `net_id_event_name_contract_address` (`net_id`, `event_name`, `contract_address`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_active_721nft`
--

View File

@ -41,6 +41,11 @@
"contract_name": "GameItemMall",
"event_name": "ItemSoldOut",
"table_name": "t_gameitemmall"
},
{
"contract_name": "GameItemMarket",
"event_name": "ItemSoldOut",
"table_name": "t_gameitemmarket"
}
]
}