@@ -0,0 +1,672 @@
+package flyway.pti;%0A%0Aimport fi.nls.oskari.domain.map.view.Bundle;%0Aimport org.flywaydb.core.api.migration.BaseJavaMigration;%0Aimport org.flywaydb.core.api.migration.Context;%0Aimport org.oskari.helpers.AppSetupHelper;%0A%0Aimport java.sql.Connection;%0A%0A/**%0A * Adds layerswipe bundle to all default/user 2D appsetups%0A */%0Apublic class V3_0_6__add_layerswipe_bundle extends BaseJavaMigration %7B%0A%0A    public void migrate(Context context) throws Exception %7B%0A        Connection connection = context.getConnection();%0A        // add layerswipe but only to 2D geoportal views%0A        AppSetupHelper.addBundleToApps(connection,%0A                new Bundle(%22layerswipe%22), %22geoportal%22);%0A    %7D%0A%7D%0A

Add layerswipe bundle to 2D geoportal views