branch develop updated (aa9a6ec -> 4de4f43)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git from aa9a6ec [jgitflow-maven-plugin]Updating develop poms back to pre merge state new a46492a Fix type no usefull refs #8353 new 00bc763 Fix column name refs #8353 new 4de4f43 Add forget callback for migration refs #8353 The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 4de4f430edca3fcecd9f631e3d0a81c0f9e81aec Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:49 2016 +0200 Add forget callback for migration refs #8353 commit 00bc76376cb81bf7f4356986ee0b5d146b4fce1c Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:20 2016 +0200 Fix column name refs #8353 commit a46492a0460610806a4589e984cfc6b3af0aff83 Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:00 2016 +0200 Fix type no usefull refs #8353 Summary of changes: ...903.java => WorkingDbMigrationCallBackForVersion3_902.java} | 10 ++++------ .../resources/migration/workingDb/pg/3.900-0-fix-types.sql | 4 ++-- .../workingDb/pg/3.901-1-upgrade-importFile-table.sql | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) copy echobase-domain/src/main/java/fr/ifremer/echobase/persistence/migration/workingDb/{WorkingDbMigrationCallBackForVersion3_903.java => WorkingDbMigrationCallBackForVersion3_902.java} (84%) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit a46492a0460610806a4589e984cfc6b3af0aff83 Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:00 2016 +0200 Fix type no usefull refs #8353 --- .../src/main/resources/migration/workingDb/pg/3.900-0-fix-types.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/echobase-domain/src/main/resources/migration/workingDb/pg/3.900-0-fix-types.sql b/echobase-domain/src/main/resources/migration/workingDb/pg/3.900-0-fix-types.sql index 117ea8d..05533ba 100644 --- a/echobase-domain/src/main/resources/migration/workingDb/pg/3.900-0-fix-types.sql +++ b/echobase-domain/src/main/resources/migration/workingDb/pg/3.900-0-fix-types.sql @@ -48,7 +48,7 @@ ALTER TABLE PUBLIC.OPERATION ALTER COLUMN GEARSHOOTINGSTARTLATITUDE TYPE REAL; ALTER TABLE PUBLIC.OPERATION ALTER COLUMN GEARSHOOTINGSTARTLONGITUDE TYPE REAL; ALTER TABLE PUBLIC.OPERATION ALTER COLUMN MIDHAULLATITUDE TYPE REAL; ALTER TABLE PUBLIC.OPERATION ALTER COLUMN MIDHAULLONGITUDE TYPE REAL; -ALTER TABLE PUBLIC.SAMPLE ALTER COLUMN SAMPLEWEIGHT TYPE REAL; +--ALTER TABLE PUBLIC.SAMPLE ALTER COLUMN SAMPLEWEIGHT TYPE REAL; ALTER TABLE PUBLIC.SAMPLEDATA ALTER COLUMN DATAVALUE TYPE REAL; ALTER TABLE PUBLIC.STRATA ALTER COLUMN MAXLATITUDE TYPE REAL; ALTER TABLE PUBLIC.STRATA ALTER COLUMN MINLATITUDE TYPE REAL; @@ -73,4 +73,4 @@ ALTER TABLE PUBLIC.TSPARAMETERS ALTER COLUMN AVERAGEFISHLENGTH TYPE REAL; ALTER TABLE PUBLIC.VESSEL ALTER COLUMN LENGTH TYPE REAL; ALTER TABLE PUBLIC.VESSEL ALTER COLUMN TONNAGE TYPE REAL; -ALTER TABLE PUBLIC.IMPORTFILE ALTER COLUMN TOPIACREATEDATE TYPE TIMESTAMP; \ No newline at end of file +ALTER TABLE PUBLIC.IMPORTFILE ALTER COLUMN TOPIACREATEDATE TYPE TIMESTAMP; -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit 00bc76376cb81bf7f4356986ee0b5d146b4fce1c Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:20 2016 +0200 Fix column name refs #8353 --- .../migration/workingDb/pg/3.901-1-upgrade-importFile-table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/echobase-domain/src/main/resources/migration/workingDb/pg/3.901-1-upgrade-importFile-table.sql b/echobase-domain/src/main/resources/migration/workingDb/pg/3.901-1-upgrade-importFile-table.sql index 1fedeae..7512b25 100644 --- a/echobase-domain/src/main/resources/migration/workingDb/pg/3.901-1-upgrade-importFile-table.sql +++ b/echobase-domain/src/main/resources/migration/workingDb/pg/3.901-1-upgrade-importFile-table.sql @@ -22,7 +22,7 @@ ALTER TABLE IMPORTFILE ADD checkFile OID; ALTER TABLE IMPORTFILE ADD importText text; DROP TABLE IF EXISTS IMPORTFILE_IMPORTID; -CREATE TABLE IMPORTFILEID ( TOPIAID character varying(255) NOT NULL, TOPIAVERSION BIGINT NOT NULL, TOPIACREATEDATE TIMESTAMP, IMPORTFILE character varying(255) NOT NULL, ENTITYID character varying(255) NOT NULL, LINENUMBER INTEGER NOT NULL, IMPORTFILE_IDX INTEGER NOT NULL); +CREATE TABLE IMPORTFILEID ( TOPIAID character varying(255) NOT NULL, TOPIAVERSION BIGINT NOT NULL, TOPIACREATEDATE TIMESTAMP, IMPORTFILE character varying(255) NOT NULL, ENTITYID character varying(255) NOT NULL, LINENUMBER INTEGER NOT NULL, IMPORTORDER INTEGER NOT NULL); ALTER TABLE IMPORTFILEID ADD CONSTRAINT PK_IMPORTFILEID PRIMARY KEY(TOPIAID); ALTER TABLE IMPORTFILEID ADD CONSTRAINT FK_IMPORTFILEID_IMPORTFILE FOREIGN KEY(IMPORTFILE) REFERENCES IMPORTFILE(TOPIAID); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository echobase. See https://gitlab.nuiton.org/codelutin/echobase.git commit 4de4f430edca3fcecd9f631e3d0a81c0f9e81aec Author: Julien Ruchaud <julien.ruchaud@debux.org> Date: Mon Jun 20 13:24:49 2016 +0200 Add forget callback for migration refs #8353 --- .../WorkingDbMigrationCallBackForVersion3_902.java | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/echobase-domain/src/main/java/fr/ifremer/echobase/persistence/migration/workingDb/WorkingDbMigrationCallBackForVersion3_902.java b/echobase-domain/src/main/java/fr/ifremer/echobase/persistence/migration/workingDb/WorkingDbMigrationCallBackForVersion3_902.java new file mode 100644 index 0000000..7d70bb4 --- /dev/null +++ b/echobase-domain/src/main/java/fr/ifremer/echobase/persistence/migration/workingDb/WorkingDbMigrationCallBackForVersion3_902.java @@ -0,0 +1,52 @@ +package fr.ifremer.echobase.persistence.migration.workingDb; + +/* + * #%L + * EchoBase :: Domain + * %% + * Copyright (C) 2011 - 2016 Ifremer, Codelutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + +import org.nuiton.topia.persistence.TopiaException; +import org.nuiton.topia.persistence.support.TopiaSqlSupport; +import org.nuiton.version.Version; +import org.nuiton.version.Versions; + +import java.util.List; + +/** + * Created on 09/05/16. + * + * @author Julien Rcuhaud - ruchaud@codelutin.com + */ +public class WorkingDbMigrationCallBackForVersion3_902 extends WorkingDbMigrationCallBackForVersionSupport { + + @Override + public Version getVersion() { + return Versions.valueOf("3.902"); + } + + @Override + protected void prepareMigrationScript(TopiaSqlSupport sqlSupport, + List<String> queries, + boolean showSql, + boolean showProgression) throws TopiaException { + + addScript("3.902-0-add-SpeciesCategory_lengthClass.sql", queries); + } + +} -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm