让数据库数据表已存在错误闭嘴

This commit is contained in:
高子兴 2024-07-14 22:35:18 +08:00
parent 154c723ce8
commit 2a37a619a9

View File

@ -87,14 +87,14 @@ public class DatabaseService {
try { try {
conn.createStatement().executeUpdate(createUsersTable); conn.createStatement().executeUpdate(createUsersTable);
} catch (SQLException e) { } catch (Exception e) {
e.printStackTrace(); // e.printStackTrace();
} }
try { try {
conn.createStatement().executeUpdate(createProjectsTable); conn.createStatement().executeUpdate(createProjectsTable);
} catch (SQLException e) { } catch (Exception e) {
e.printStackTrace(); // e.printStackTrace();
} }
} }