mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-11-26 12:16:18 +01:00
Fix data type for database
This commit is contained in:
parent
df1b89f302
commit
aefe0d65b6
@ -52,7 +52,7 @@ public class _1_InitialMigration extends DataMigration {
|
|||||||
try (Statement statement = connection.createStatement()) {
|
try (Statement statement = connection.createStatement()) {
|
||||||
statement.execute("CREATE TABLE " + tablePrefix + "items (" +
|
statement.execute("CREATE TABLE " + tablePrefix + "items (" +
|
||||||
"hopper_id INTEGER NOT NULL, " +
|
"hopper_id INTEGER NOT NULL, " +
|
||||||
"item_type BIT NOT NULL," +
|
"item_type VARCHAR(20) NOT NULL," +
|
||||||
"item TEXT NOT NULL " +
|
"item TEXT NOT NULL " +
|
||||||
")");
|
")");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user