log the advancement's data type before altering

it seems that sometimes this is triggered on an existing database. This
should help identifying what is happening in these cases.
This commit is contained in:
EoD 2025-07-19 18:06:42 +00:00
parent 2ec7fec89e
commit 54cbb9c9a8

View File

@ -176,7 +176,7 @@ public class PlayerSync {
if (rsAdvCol.next()) {
String dataType = rsAdvCol.getString("DATA_TYPE");
if (!"mediumblob".equalsIgnoreCase(dataType)) {
LOGGER.info("Altering player_data table to modify 'advancements' column to MEDIUMBLOB.");
LOGGER.info("Altering player_data table to modify 'advancements' column from {} to MEDIUMBLOB.", dataType);
JDBCsetUp.executeUpdate("ALTER TABLE " + dbName + ".player_data MODIFY COLUMN advancements MEDIUMBLOB", 1);
}
}