forked from MagicBane/Server
Petition db update including table creation.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user