Skip to content

Commit

Permalink
Fix logs table not being created
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Jul 30, 2024
1 parent 0555b3d commit fee2b1f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public void createTables() {
createUsersTable(connection);
createSkillLevelsTable(connection);
createKeyValuesTable(connection);
createLogsTable(connection);
} catch (SQLException e) {
e.printStackTrace();
}
Expand Down Expand Up @@ -98,7 +99,7 @@ public void createLogsTable(Connection connection) throws SQLException {
return;
}
try (Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE)) {
statement.execute("create table " + tablePrefix + "auraskills_logs (" +
statement.execute("create table " + tablePrefix + "logs (" +
"log_id bigint auto_increment primary key," +
"log_type varchar(50) not null," +
"log_time timestamp not null," +
Expand Down

0 comments on commit fee2b1f

Please sign in to comment.