From e5c9195606a623cfde00ba69b8022c9b2bbbaecf Mon Sep 17 00:00:00 2001 From: wsbrenk Date: Sat, 6 Jan 2024 13:50:44 +0100 Subject: [PATCH] #1905 remove database table SPIELERSKILLUP (#2005) --- src/main/java/core/db/DBUpdater.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/core/db/DBUpdater.java b/src/main/java/core/db/DBUpdater.java index 4f9347629..c9e0ad4e6 100644 --- a/src/main/java/core/db/DBUpdater.java +++ b/src/main/java/core/db/DBUpdater.java @@ -82,6 +82,9 @@ void updateDB(int DBVersion) { } private void updateDBv800(int dbVersion) throws SQLException { + assert dbManager.getConnectionManager() != null; + dbManager.getConnectionManager().executeUpdate("DROP TABLE IF EXISTS SPIELERSKILLUP"); + if (!tableExists(FuturePlayerSkillTrainingTable.TABLENAME)) { dbManager.getTable(FuturePlayerSkillTrainingTable.TABLENAME).createTable(); }