This commit is contained in:
aozhiwei 2024-09-23 14:37:21 +08:00
parent 27485bc5c3
commit d4174ca6e0

View File

@ -675,13 +675,13 @@ CREATE TABLE `t_escec_transfer` (
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_vester_claim`
-- Table structure for table `t_vester_deposit_withdraw`
--
DROP TABLE IF EXISTS `t_vester_claim`;
DROP TABLE IF EXISTS `t_vester_deposit_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_vester_claim` (
CREATE TABLE `t_vester_deposit_withdraw` (
`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',
@ -691,61 +691,16 @@ CREATE TABLE `t_vester_claim` (
`event_name` varchar(60) NOT NULL DEFAULT '' COMMENT '事件名',
`chain_timestamp` bigint NOT NULL DEFAULT '0' COMMENT '链事件时间戳',
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
`amount` varchar(60) NOT NULL DEFAULT '' COMMENT '数量',
`deposit_amount` varchar(60) NOT NULL DEFAULT '' COMMENT '数量',
`withdraw_clamied_amount` varchar(60) NOT NULL DEFAULT '' COMMENT '数量',
`withdraw_balance` varchar(60) NOT NULL DEFAULT '' COMMENT 'balance',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
KEY `idx_account_address` (`account_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_vester_deposit`
--
DROP TABLE IF EXISTS `t_vester_deposit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_vester_deposit` (
`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',
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
`contract_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'contract_address',
`src_idx` bigint NOT NULL DEFAULT '0' COMMENT 'src_idx',
`event_name` varchar(60) NOT NULL DEFAULT '' COMMENT '事件名',
`chain_timestamp` bigint NOT NULL DEFAULT '0' COMMENT '链事件时间戳',
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
`amount` varchar(60) NOT NULL DEFAULT '' COMMENT '数量',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
KEY `idx_account_address` (`account_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_vester_withdraw`
--
DROP TABLE IF EXISTS `t_vester_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_vester_withdraw` (
`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',
`net_id` bigint NOT NULL DEFAULT '0' COMMENT 'net_id',
`contract_address` varchar(60) NOT NULL DEFAULT '' COMMENT 'contract_address',
`src_idx` bigint NOT NULL DEFAULT '0' COMMENT 'src_idx',
`event_name` varchar(60) NOT NULL DEFAULT '' COMMENT '事件名',
`chain_timestamp` bigint NOT NULL DEFAULT '0' COMMENT '链事件时间戳',
`account_address` varchar(60) NOT NULL DEFAULT '' COMMENT '钱包地址',
`clamied_amount` varchar(60) NOT NULL DEFAULT '' COMMENT '数量',
`balance` varchar(60) NOT NULL DEFAULT '' COMMENT 'balance',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
KEY `idx_account_address` (`account_address`)
KEY `idx_account_address` (`account_address`),
KEY `idx_account_address_event_name` (`account_address`, `event_name`),
KEY `idx_event_name` (`event_name`),
KEY `idx_src_idx` (`src_idx`),
KEY `idx_chain_timestamp` (`chain_timestamp`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;