This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit 8eca327c0d308d5ebdddad28a37b595b57aaa633 Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Sep 2 21:03:51 2016 +0200 Don't know what to do with this... --- .../src/test/resources/db/4.0.2/referentiel.sql.gz | Bin 138257 -> 0 bytes .../DataSourceMigrationForVersion_4_0_2.java | 75 --------------------- .../resources/db/4.0.2/remove-gender-column-PG.sql | 22 ------ 3 files changed, 97 deletions(-) diff --git a/observe-business/src/test/resources/db/4.0.2/referentiel.sql.gz b/observe-business/src/test/resources/db/4.0.2/referentiel.sql.gz deleted file mode 100644 index 1447432..0000000 Binary files a/observe-business/src/test/resources/db/4.0.2/referentiel.sql.gz and /dev/null differ diff --git a/observe-entities/src/main/java/fr/ird/observe/entities/migration/versions/DataSourceMigrationForVersion_4_0_2.java b/observe-entities/src/main/java/fr/ird/observe/entities/migration/versions/DataSourceMigrationForVersion_4_0_2.java deleted file mode 100644 index 3cee5c7..0000000 --- a/observe-entities/src/main/java/fr/ird/observe/entities/migration/versions/DataSourceMigrationForVersion_4_0_2.java +++ /dev/null @@ -1,75 +0,0 @@ -package fr.ird.observe.entities.migration.versions; - -/* - * #%L - * ObServe :: Entities - * %% - * Copyright (C) 2008 - 2015 IRD, Codelutin, Tony Chemit - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -import fr.ird.observe.entities.migration.AbstractDataSourceMigration; -import fr.ird.observe.entities.migration.AbstractObserveMigrationCallBack; -import fr.ird.observe.entities.migration.H2DataSourceMigration; -import fr.ird.observe.entities.migration.PGDataSourceMigration; -import org.nuiton.topia.TopiaException; -import org.nuiton.topia.framework.TopiaContextImplementor; - -import java.util.List; - -/** - * Created on 6/8/15. - * - * @author Tony Chemit - chemit@codelutin.com - * @since 4.0.1 - */ -public abstract class DataSourceMigrationForVersion_4_0_2 extends AbstractObserveMigrationCallBack { - - public DataSourceMigrationForVersion_4_0_2(AbstractDataSourceMigration callBack, String scriptSuffix) { - super(AbstractDataSourceMigration.V_4_0_2, callBack, scriptSuffix); - } - - public static class H2DataSourceMigrationForVersion extends DataSourceMigrationForVersion_4_0_2 { - - public H2DataSourceMigrationForVersion(AbstractDataSourceMigration callBack) { - super(callBack, H2DataSourceMigration.TYPE); - } - - @Override - protected void prepareMigrationScript(TopiaContextImplementor tx, List<String> queries, boolean showSql, boolean showProgression) throws TopiaException { - // Rien à faire (déjà fait en 4.0.1) - } - - } - - public static class PGDataSourceMigrationForVersion extends DataSourceMigrationForVersion_4_0_2 { - - public PGDataSourceMigrationForVersion(AbstractDataSourceMigration callBack) { - super(callBack, PGDataSourceMigration.TYPE); - } - - @Override - protected void prepareMigrationScript(TopiaContextImplementor tx, List<String> queries, boolean showSql, boolean showProgression) throws TopiaException { - - // See http://forge.codelutin.com/issues/7467 - addScript("remove-gender-column", queries); - - } - - } - -} diff --git a/observe-entities/src/main/resources/db/4.0.2/remove-gender-column-PG.sql b/observe-entities/src/main/resources/db/4.0.2/remove-gender-column-PG.sql deleted file mode 100644 index e6c4337..0000000 --- a/observe-entities/src/main/resources/db/4.0.2/remove-gender-column-PG.sql +++ /dev/null @@ -1,22 +0,0 @@ ---- --- #%L --- ObServe :: Entities --- %% --- Copyright (C) 2008 - 2015 IRD, Codelutin, Tony Chemit --- %% --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as --- published by the Free Software Foundation, either version 3 of the --- License, or (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public --- License along with this program. If not, see --- <http://www.gnu.org/licenses/gpl-3.0.html>. --- #L% ---- -ALTER TABLE observe_common.lengthweightparameter DROP COLUMN gender; \ No newline at end of file -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.