Browse Source

Petition db update including table creation.

master
MagicBot 1 year ago
parent
commit
602fc77ff9
  1. 4
      src/engine/db/handlers/dbPetitionHandler.java

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

@ -27,8 +27,8 @@ public class dbPetitionHandler extends dbHandlerBase {
public void CREATE_PETITION_TABLE() { public void CREATE_PETITION_TABLE() {
try (Connection connection = DbManager.getConnection(); try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("CREATE TABLE IF NOT EXISTS dyn_petition \n" + PreparedStatement preparedStatement = connection.prepareStatement("CREATE TABLE IF NOT EXISTS dyn_petition " +
" petitionNumber INT AUTO_INCREMENT NOT NULL," + " (petitionNumber INT AUTO_INCREMENT NOT NULL," +
" petitionTime DATETIME," + " petitionTime DATETIME," +
" primaryType VARCHAR(50)," + " primaryType VARCHAR(50)," +
" subType VARCHAR(50)," + " subType VARCHAR(50)," +

Loading…
Cancel
Save