From 5330ea1b620d09a58081f849fdb7b1a641983a9e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 31 Oct 2022 20:27:07 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 2dcd8e59..8a057616 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -777,3 +777,23 @@ CREATE TABLE `t_parachute` ( PRIMARY KEY (`idx`) ) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `t_transaction` +-- + +DROP TABLE IF EXISTS `t_transaction`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_transaction` ( + `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', + `action` int(11) NOT NULL DEFAULT '0' COMMENT 'action', + `item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id', + `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`) +) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */;