Skip to content

Commit

Permalink
Changed dirty_chunks and block_counts columns to be LONGTEXT rather t…
Browse files Browse the repository at this point in the history
…han TEXT (#848)
  • Loading branch information
OmerBenGera committed Jan 22, 2022
1 parent 696ae4d commit 39db081
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -118,10 +118,13 @@ private void createIslandsTable() {
new Pair<>("generated_schematics", "INTEGER"),
new Pair<>("unlocked_worlds", "INTEGER"),
new Pair<>("last_time_updated", "BIGINT"),
new Pair<>("dirty_chunks", "TEXT"),
new Pair<>("block_counts", "TEXT")
new Pair<>("dirty_chunks", "LONGTEXT"),
new Pair<>("block_counts", "LONGTEXT")
);

SQLHelper.modifyColumnType("islands", "dirty_chunks", "LONGTEXT");
SQLHelper.modifyColumnType("islands", "block_counts", "LONGTEXT");

SQLHelper.createTable("islands_banks",
new Pair<>("island", "UUID PRIMARY KEY"),
new Pair<>("balance", "BIG_DECIMAL"),
Expand Down

0 comments on commit 39db081

Please sign in to comment.