From 4342fe9819599f5ed60d5e4f7da5bb47aba11577 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 14 Aug 2023 12:50:50 -0400 Subject: [PATCH] Enum defined and database work started. --- src/engine/objects/Petition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Petition.java b/src/engine/objects/Petition.java index 39019c6d..48fc3b24 100644 --- a/src/engine/objects/Petition.java +++ b/src/engine/objects/Petition.java @@ -49,7 +49,7 @@ public class Petition extends AbstractGameObject { //check that table exists - PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_petition` (`time`=?, `primaryType`=?, `subType`=?, `accountID`=?, `account`=?, " + PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_petition` (`petitionTime`=?, `primaryType`=?, `subType`=?, `accountID`=?, `account`=?, " + "`characterID`=?, `character`=?, `location`=?, `message`=?")) { preparedStatement.setTimestamp(1, new java.sql.Timestamp(System.currentTimeMillis()));