From 41297e5a2134a4a420a5721b2c89488ac5e7fc58 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 14 Aug 2023 14:08:39 -0400 Subject: [PATCH] Sql column name update. --- src/engine/db/handlers/dbPetitionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbPetitionHandler.java b/src/engine/db/handlers/dbPetitionHandler.java index 005744f8..3af4fd53 100644 --- a/src/engine/db/handlers/dbPetitionHandler.java +++ b/src/engine/db/handlers/dbPetitionHandler.java @@ -54,7 +54,7 @@ public class dbPetitionHandler extends dbHandlerBase { //check that table exists - PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_petition` (`petitionTime`, `primaryType`, `subType`, `accountID`, `account`, `characterID`, `character`, `location`, `message`)" + + PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO `dyn_petition` (`petitionTime`, `primaryType`, `subType`, `accountID`, `accountName`, `characterID`, `characterName`, `location`, `message`)" + " VALUES (?,?,?,?,?,?,?,?,?);")) { preparedStatement.setTimestamp(1, new java.sql.Timestamp(System.currentTimeMillis()));