Petition db update including table creation.

This commit is contained in:
2023-08-14 13:53:37 -04:00
parent de71e250e8
commit 602fc77ff9
@@ -27,8 +27,8 @@ public class dbPetitionHandler extends dbHandlerBase {
public void CREATE_PETITION_TABLE() {
try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("CREATE TABLE IF NOT EXISTS dyn_petition \n" +
" petitionNumber INT AUTO_INCREMENT NOT NULL," +
PreparedStatement preparedStatement = connection.prepareStatement("CREATE TABLE IF NOT EXISTS dyn_petition " +
" (petitionNumber INT AUTO_INCREMENT NOT NULL," +
" petitionTime DATETIME," +
" primaryType VARCHAR(50)," +
" subType VARCHAR(50)," +