From c7917c1e73b0876587cb3d0db799b4e1aec56c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Klva=C4=8D?= Date: Wed, 9 Jan 2019 23:12:17 +0100 Subject: [PATCH] Fixed missing columns in MySQL initialization script --- database/new/mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/new/mysql.sql b/database/new/mysql.sql index 68d30da..577e3ae 100644 --- a/database/new/mysql.sql +++ b/database/new/mysql.sql @@ -340,5 +340,5 @@ INSERT INTO `level_permission`(`level_id`, `permission`) VALUES (5, 'silentcmds' INSERT INTO `level_permission`(`level_id`, `permission`) VALUES (5, 'spy'); -- add console to players table -INSERT INTO `player` (`id`, `guid`, `ip`) VALUES (1, 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', '127.0.0.1'); +INSERT INTO `player` (`id`, `guid`, `ip`, `level_id`, `lastseen`, `seen`) VALUES (1, 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', '127.0.0.1', 5, 0, 0); INSERT INTO `alias` (`id`, `player_id`, `alias`, `cleanalias`, `lastused`, `used`) VALUES (1, 1, 'console', 'console', 0, 0);