diff --git a/CommonCore/SQL/src/de/steamwar/sql/AuditLog.java b/CommonCore/SQL/src/de/steamwar/sql/AuditLog.java index bc6bdf05..ffe093a0 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/AuditLog.java +++ b/CommonCore/SQL/src/de/steamwar/sql/AuditLog.java @@ -19,7 +19,10 @@ package de.steamwar.sql; -import de.steamwar.sql.internal.*; +import de.steamwar.sql.internal.Field; +import de.steamwar.sql.internal.SqlTypeMapper; +import de.steamwar.sql.internal.Statement; +import de.steamwar.sql.internal.Table; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NonNull; @@ -38,14 +41,8 @@ public class AuditLog { private static final Table table = new Table<>(AuditLog.class); - private static final SelectStatement byId = table.select(Table.PRIMARY); - private static final Statement create = table.insertFields(true, "time", "serverName", "serverOwner", "actor", "actionType", "actionText"); - @Getter - @Field(keys = {Table.PRIMARY}, autoincrement = true) - private final int auditLogId; - @Getter @Field private final Timestamp time;