diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 9a38c174..6b0aebc0 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -791,6 +791,28 @@ CREATE TABLE `t_transaction` ( ) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `t_transaction_prefee` +-- + +DROP TABLE IF EXISTS `t_transaction_prefee`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_transaction_prefee` ( + `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', + `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', + `trans_id` varchar(255) NOT NULL DEFAULT '' COMMENT '事务id', + `item_uniid` bigint NOT NULL DEFAULT '0' COMMENT '道具uniid', + `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', + `item_num` int(11) NOT NULL DEFAULT '0' COMMENT '道具数量', + `done` int(11) NOT NULL DEFAULT '0' COMMENT 'done', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + 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 */; -- -- Table structure for table `t_nft_up_event`