Browse Source

Petition db update including table creation.

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

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

@ -41,7 +41,7 @@ public class dbPetitionHandler extends dbHandlerBase {
" PRIMARY KEY (petitionNumber))" + " PRIMARY KEY (petitionNumber))" +
" ENGINE = innodb ROW_FORMAT = DEFAULT;")) { " ENGINE = innodb ROW_FORMAT = DEFAULT;")) {
preparedStatement.executeQuery(); preparedStatement.executeUpdate();
} catch (SQLException e) { } catch (SQLException e) {
Logger.error(e); Logger.error(e);

Loading…
Cancel
Save