Browse Source

Sql column name update.

master
MagicBot 1 year ago
parent
commit
41297e5a21
  1. 2
      src/engine/db/handlers/dbPetitionHandler.java

2
src/engine/db/handlers/dbPetitionHandler.java

@ -54,7 +54,7 @@ public class dbPetitionHandler extends dbHandlerBase {
//check that table exists //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 (?,?,?,?,?,?,?,?,?);")) { " VALUES (?,?,?,?,?,?,?,?,?);")) {
preparedStatement.setTimestamp(1, new java.sql.Timestamp(System.currentTimeMillis())); preparedStatement.setTimestamp(1, new java.sql.Timestamp(System.currentTimeMillis()));

Loading…
Cancel
Save