@@ -0,0 +1,970 @@
+package flyway.oskari;%0A%0Aimport java.sql.Connection;%0Aimport java.sql.SQLException;%0Aimport java.sql.Statement;%0A%0Aimport org.flywaydb.core.api.migration.jdbc.JdbcMigration;%0A%0A/**%0A * Adds%0A *   'capabilities_last_updated'%0A *   'capabilities_update_rate_sec'%0A * columns to%0A *   'oskari_maplayer'%0A */%0Apublic class V1_45_2__add_automatic_capabilities_columns implements JdbcMigration %7B%0A%0A    private static final String ADD_LAST_UPDATED = %22%22%0A            + %22ALTER TABLE oskari_maplayer %22%0A            +%22 ADD COLUMN capabilities_last_updated timestamp with time zone%22;%0A    private static final String ADD_UPDATE_RATE_SEC = %22%22%0A            + %22ALTER TABLE oskari_maplayer %22%0A            +%22 ADD COLUMN capabilities_update_rate_sec int DEFAULT 0%22;%0A%0A    public void migrate(Connection connection) throws SQLException %7B%0A        try (Statement stmt = connection.createStatement()) %7B%0A            stmt.execute(ADD_LAST_UPDATED);%0A            stmt.execute(ADD_UPDATE_RATE_SEC);%0A        %7D%0A    %7D%0A%0A%7D%0A

Add flyway migration