From 6fe09a9579bc2b333ba2a51712512e2ff83a8bdc Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 14 Dec 2022 21:53:52 +0100 Subject: [PATCH] Fix --- src/de/steamwar/sql/SchematicNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/sql/SchematicNode.java b/src/de/steamwar/sql/SchematicNode.java index f77dfaa..3e610a6 100644 --- a/src/de/steamwar/sql/SchematicNode.java +++ b/src/de/steamwar/sql/SchematicNode.java @@ -49,7 +49,7 @@ public class SchematicNode { } private static final Table table = new Table<>(SchematicNode.class); - private static final Statement create = table.insertAll(); + private static final Statement create = table.insertFields(true, "NodeOwner", "NodeName", "ParentNode", "NodeItem", "NodeType"); private static final Statement update = table.update(Table.PRIMARY, "NodeName", "ParentNode", "NodeItem", "NodeType", "NodeRank", "ReplaceColor", "AllowReplay", "NodeFormat"); private static final Statement delete = table.delete(Table.PRIMARY);