@@ -0,0 +1,858 @@
+package db.migration;%0A%0Aimport lombok.extern.slf4j.Slf4j;%0Aimport org.flywaydb.core.api.migration.spring.SpringJdbcMigration;%0Aimport org.springframework.jdbc.core.JdbcTemplate;%0A%0A/**%0A * Set the default max_duration column under experiments table all to '0'%0A * Created by dcsyeoty%0A */%0A@Slf4j%0Apublic class V1_19__change_experiment_max_duration implements SpringJdbcMigration %7B%0A%0A    @Override%0A    public void migrate(final JdbcTemplate jdbcTemplate) throws Exception %7B%0A        log.debug(%22Changing experiment max_duration%22);%0A        updateMaxDuration(jdbcTemplate, 0);%0A    %7D%0A%0A    private void updateMaxDuration(final JdbcTemplate jdbcTemplate, final int maxDuration) %7B%0A        final String sql = %22UPDATE prod.experiments SET max_duration=?%22;%0A        final int i = jdbcTemplate.update(sql, maxDuration);%0A        log.debug(%22Number of rows affected: %7B%7D%22, i);%0A    %7D%0A%0A%7D%0A

add flyway migration to set max duration for all experiments to zero