You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API/src/main/java/me/innectic/permissify/api/database/handlers/SQLHandler.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,6 @@ public void initialize() {
119
119
superAdminStatement.close();
120
120
121
121
if (!hasFormattingTable(connection.get(), database)) {
122
-
System.out.println("Creating");
123
122
PreparedStatementformattingStatement = connection.get().prepareStatement("CREATE TABLE IF NOT EXISTS " + database + "formatting (`format` VARCHAR(400) NOT NULL, formatter VARCHAR(200) NOT NULL)");
124
123
formattingStatement.execute();
125
124
formattingStatement.close();
@@ -358,11 +357,12 @@ public boolean createGroup(String name, String prefix, String suffix, String cha
358
357
}
359
358
360
359
try {
361
-
PreparedStatementstatement = connection.get().prepareStatement("INSERT INTO groups (name,prefix,suffix,chatcolor) VALUES (?,?,?,?)");
360
+
PreparedStatementstatement = connection.get().prepareStatement("INSERT INTO groups (name,prefix,suffix,chatcolor,defaultGroup) VALUES (?,?,?,?,?)");
0 commit comments