Fix data type for database

This commit is contained in:
ceze88 2023-08-10 11:46:02 +02:00
parent df1b89f302
commit aefe0d65b6

View File

@ -52,7 +52,7 @@ public class _1_InitialMigration extends DataMigration {
try (Statement statement = connection.createStatement()) {
statement.execute("CREATE TABLE " + tablePrefix + "items (" +
"hopper_id INTEGER NOT NULL, " +
"item_type BIT NOT NULL," +
"item_type VARCHAR(20) NOT NULL," +
"item TEXT NOT NULL " +
")");
}