From d000b8687d93eb43520bbf6685281099055eab9f Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 6 Jul 2024 15:12:16 +0200 Subject: [PATCH] Fix logGetId Signed-off-by: Lixfel --- src/de/steamwar/sql/SWException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/sql/SWException.java b/src/de/steamwar/sql/SWException.java index ca87a09..4656804 100644 --- a/src/de/steamwar/sql/SWException.java +++ b/src/de/steamwar/sql/SWException.java @@ -38,7 +38,7 @@ public class SWException { private static final String SERVER_NAME = new File(CWD).getName(); private static final Table table = new Table<>(SWException.class, "Exception"); - private static final Statement insert = table.insertFields("server", "message", "stacktrace"); + private static final Statement insert = table.insertFields(true, "server", "message", "stacktrace"); @Field(keys = {Table.PRIMARY}, autoincrement = true) private final int id;