mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-09-27 06:02:45 +02:00
Lets make this work with MySQL.
This commit is contained in:
parent
dda9a47f01
commit
ff449d4dce
@ -32,7 +32,7 @@ public class _2_EntityStacks extends DataMigration {
|
|||||||
statement.execute("CREATE TABLE " + tablePrefix + "stacked_entities (" +
|
statement.execute("CREATE TABLE " + tablePrefix + "stacked_entities (" +
|
||||||
"uuid VARCHAR(36) PRIMARY KEY NOT NULL," +
|
"uuid VARCHAR(36) PRIMARY KEY NOT NULL," +
|
||||||
"host INTEGER NOT NULL," +
|
"host INTEGER NOT NULL," +
|
||||||
"serialized_entity VARBINARY NOT NULL" +
|
"serialized_entity VARBINARY(255) NOT NULL" +
|
||||||
")");
|
")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ public class _3_BlockStacks extends DataMigration {
|
|||||||
statement.execute("CREATE TABLE " + tablePrefix + "blocks (" +
|
statement.execute("CREATE TABLE " + tablePrefix + "blocks (" +
|
||||||
"id INTEGER PRIMARY KEY" + autoIncrement + ", " +
|
"id INTEGER PRIMARY KEY" + autoIncrement + ", " +
|
||||||
"amount INTEGER NOT NULL," +
|
"amount INTEGER NOT NULL," +
|
||||||
"material STRING NOT NULL," +
|
"material TEXT NOT NULL," +
|
||||||
"world TEXT NOT NULL, " +
|
"world TEXT NOT NULL, " +
|
||||||
"x DOUBLE NOT NULL, " +
|
"x DOUBLE NOT NULL, " +
|
||||||
"y DOUBLE NOT NULL, " +
|
"y DOUBLE NOT NULL, " +
|
||||||
|
Loading…
Reference in New Issue
Block a user