diff --git a/mysql/src/main/java/jef/platform/mysql/migration/MysqlMigrationApplier.java b/mysql/src/main/java/jef/platform/mysql/migration/MysqlMigrationApplier.java index b93579d..dd684b0 100644 --- a/mysql/src/main/java/jef/platform/mysql/migration/MysqlMigrationApplier.java +++ b/mysql/src/main/java/jef/platform/mysql/migration/MysqlMigrationApplier.java @@ -17,7 +17,7 @@ public class MysqlMigrationApplier extends MigrationApplier { @Override protected void insertMigrationLog(Migration m) throws SQLException { - try (var stmt = connection.prepareStatement("INSERT INTO `" + options.getMigrationsTableName() + "` (`name`, `version`) VALUES (?, ?)")) {//TODO configurable log table name + try (var stmt = connection.prepareStatement("INSERT INTO `" + options.getMigrationsTableName() + "` (`migration`, `version`) VALUES (?, ?)")) {//TODO configurable log table name stmt.setString(1, m.getClass().getSimpleName()); stmt.setString(2, "0.1"); //TODO insert actual library version stmt.executeUpdate();