Change pokedex column type to MEDIUMBLOB

This commit is contained in:
mlus 2026-02-21 16:14:56 +08:00 committed by GitHub
parent d0044fa824
commit bc71c59a45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,7 +139,7 @@ public class PlayerSync {
"CREATE TABLE IF NOT EXISTS " + dbName + ".cobblemon(" + "CREATE TABLE IF NOT EXISTS " + dbName + ".cobblemon(" +
"uuid CHAR(36) NOT NULL," + "uuid CHAR(36) NOT NULL," +
"inv BLOB," + "inv BLOB," +
"pokedex BLOB," + "pokedex MEDIUMBLOB," +
"pc MEDIUMBLOB," + "pc MEDIUMBLOB," +
"general BLOB," + "general BLOB," +
"PRIMARY KEY (uuid)" + "PRIMARY KEY (uuid)" +
@ -149,6 +149,9 @@ public class PlayerSync {
JDBCsetUp.executeUpdate( JDBCsetUp.executeUpdate(
"ALTER TABLE " + dbName + ".cobblemon MODIFY COLUMN pc MEDIUMBLOB" "ALTER TABLE " + dbName + ".cobblemon MODIFY COLUMN pc MEDIUMBLOB"
); );
JDBCsetUp.executeUpdate(
"ALTER TABLE " + dbName + ".cobblemon MODIFY COLUMN pokedex MEDIUMBLOB"
);
} }
// Create backpack_data table // Create backpack_data table