Migration method fix

This commit is contained in:
Imbus 2024-02-07 07:31:29 +01:00
parent d434e8fb0f
commit 33c67ff4de

View file

@ -66,7 +66,7 @@ public class Database {
String migration = readResourceFile("/migration.sql");
try {
Statement stmt = conn.createStatement();
stmt.execute(migration);
stmt.executeUpdate(migration);
} catch (SQLException e) {
e.printStackTrace();
}