From eefbf2892fd58c2cfdf9ac376f419fde979b90ad Mon Sep 17 00:00:00 2001
From: Shauren <shauren.trinity@gmail.com>
Date: Mon, 3 Aug 2020 09:33:52 +0200
Subject: Core/Authserver: Compatibility change for master branch

(cherry picked from commit bfb041246f5c7c499ff365b38a281b0784f0bdb7)
---
 sql/base/auth_database.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'sql/base/auth_database.sql')

diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql
index 312ce07c731..cf23c932777 100644
--- a/sql/base/auth_database.sql
+++ b/sql/base/auth_database.sql
@@ -27,7 +27,7 @@ CREATE TABLE `account` (
   `username` varchar(32) NOT NULL DEFAULT '',
   `salt` BINARY(32),
   `verifier` BINARY(32),
-  `session_key` BINARY(40) DEFAULT NULL,
+  `session_key` VARBINARY(64) DEFAULT NULL,
   `sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
   `v` varchar(64) NOT NULL DEFAULT 'dummy value, use `verifier` instead',
   `s` varchar(64) NOT NULL DEFAULT 'dummy value, use `salt` instead',
@@ -2366,7 +2366,8 @@ INSERT INTO `updates` VALUES
 ('2020_07_23_00_auth.sql','5F47E1CEECA9F837C85C2DAC7ECD47AED321F502','RELEASED','2020-07-23 19:54:42',0),
 ('2020_07_24_00_auth.sql','06598162E9C84DDF8AA1F83D0410D056C3F7F69E','RELEASED','2020-07-24 00:44:34',0),
 ('2020_07_25_00_auth.sql','BE376B619ECB6FE827270D5022F311E20AD6E177','RELEASED','2020-07-25 00:00:49',0),
-('2020_08_02_00_auth.sql','B0290F6558C59262D9DDD8071060A8803DD56930','ARCHIVED','2020-08-02 00:00:00',0);
+('2020_08_02_00_auth.sql','B0290F6558C59262D9DDD8071060A8803DD56930','ARCHIVED','2020-08-02 00:00:00',0),
+('2020_08_03_00_auth.sql','492CA77C0FAEEEF3E0492121B3A92689373ECFA3','RELEASED','2020-08-03 09:24:47',0);
 /*!40000 ALTER TABLE `updates` ENABLE KEYS */;
 UNLOCK TABLES;
 
-- 
cgit v1.2.3

