From 7a3852e67764566e28d97d4517ccd459d87744ce Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 16 Aug 2024 11:46:33 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 1b403ae7..ae56d1db 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -2013,3 +2013,22 @@ CREATE TABLE `t_contribution` ( UNIQUE KEY `idx_account_id` (`account_id`) ) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `t_contribution_history` +-- + +DROP TABLE IF EXISTS `t_contribution_history`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `t_contribution_history` ( + `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', + `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', + `consume_gold` double NOT NULL DEFAULT '0' COMMENT '消费金币数', + `contribution` double NOT NULL DEFAULT '0' COMMENT '获得点数', + `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', + PRIMARY KEY (`idx`), + UNIQUE KEY `idx_account_id` (`account_id`) +) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; +/*!40101 SET character_set_client = @saved_cs_client */;