From aefe0d65b697ab077921b727eb2f21d19880aed9 Mon Sep 17 00:00:00 2001 From: ceze88 Date: Thu, 10 Aug 2023 11:46:02 +0200 Subject: [PATCH] Fix data type for database --- .../epichoppers/database/migrations/_1_InitialMigration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/database/migrations/_1_InitialMigration.java b/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/database/migrations/_1_InitialMigration.java index dc1f631..93c2c88 100644 --- a/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/database/migrations/_1_InitialMigration.java +++ b/EpicHoppers-Plugin/src/main/java/com/craftaro/epichoppers/database/migrations/_1_InitialMigration.java @@ -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 " + ")"); }