mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-12 06:41:50 +01:00
Fixed a bug where sessions table had no id of 0 (Mysql)
This commit is contained in:
parent
5cbfdcd30e
commit
458638d3f2
@ -84,6 +84,8 @@ public class Version8TransferTable extends Table {
|
||||
nicknamesTable.createTable();
|
||||
execute(dropTableSql("plan_sessions"));
|
||||
db.getSessionsTable().createTable();
|
||||
execute("INSERT INTO plan_sessions (id, user_id, server_id, session_start, session_end, mob_kills, deaths) " +
|
||||
"VALUES (0, 1, 1, 0, 0, 0, 0)");
|
||||
killsTable.createTable();
|
||||
|
||||
UserInfoTable userInfoTable = db.getUserInfoTable();
|
||||
|
Loading…
Reference in New Issue
Block a user