Change pokedex column type to MEDIUMBLOB
This commit is contained in:
parent
d0044fa824
commit
bc71c59a45
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user