From a2cb2bbc0645ad92a67b1814b81ba87cc9331e20 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 1 Apr 2022 15:02:40 +0800 Subject: [PATCH] 1 --- sql/gamedb.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/gamedb.sql b/sql/gamedb.sql index 07933378..9bfc2a92 100644 --- a/sql/gamedb.sql +++ b/sql/gamedb.sql @@ -38,8 +38,8 @@ CREATE TABLE `t_user` ( `rank` int(11) NOT NULL DEFAULT '0' COMMENT '段位', `history_best_rank` int(11) NOT NULL DEFAULT '0' COMMENT '历史最高段位', `score` int(11) NOT NULL DEFAULT '0' COMMENT '积分', - `gold` int(11) NOT NULL DEFAULT '0' COMMENT '金币', - `diamond` int(11) NOT NULL DEFAULT '0' COMMENT '钻石', + `gold` bigint NOT NULL DEFAULT '0' COMMENT '金币', + `diamond` bigint NOT NULL DEFAULT '0' COMMENT '钻石', `hero_id` int(11) NOT NULL DEFAULT '0' COMMENT '当前上阵英雄id', `first_fight` int(11) NOT NULL DEFAULT '0' COMMENT '是否首战', `last_season_id` int(11) NOT NULL DEFAULT '0' COMMENT '最后一次赛季id', @@ -84,8 +84,8 @@ DROP TABLE IF EXISTS `t_user_wallet_offline`; CREATE TABLE `t_user_wallet_offline` ( `idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id', `account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)', - `gold` int(11) NOT NULL DEFAULT '0' COMMENT '金币', - `diamond` int(11) NOT NULL DEFAULT '0' COMMENT '钻石', + `gold` bigint NOT NULL DEFAULT '0' COMMENT '金币', + `diamond` bigint NOT NULL DEFAULT '0' COMMENT '钻石', `createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间', PRIMARY KEY (`idx`),