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