Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
ece95278
by Tony CHEMIT at 2017-03-22T07:58:15+01:00
3 changed files:
- persistence/src/main/java/fr/ird/observe/persistence/migration/old/DataSourceMigrationForVersion_4_0_RC2.java
- persistence/src/main/java/fr/ird/observe/persistence/migration/old/DataSourceMigrationForVersion_4_0_RC3.java
- persistence/src/main/resources/db/migration/old/4.0-RC2/V4_0_RC2_02_add-foreign-key-indexes-PG.sql → persistence/src/main/resources/db/migration/old/4.0-RC3/V4_0_RC3_03_add-foreign-key-indexes-PG.sql
Changes:
| ... | ... | @@ -97,12 +97,6 @@ public class DataSourceMigrationForVersion_4_0_RC2 extends AbstractObserveMigrat |
| 97 | 97 |
public PGDataSourceMigrationForVersion(AbstractDataSourceMigration callBack) {
|
| 98 | 98 |
super(callBack, PGDataSourceMigration.TYPE);
|
| 99 | 99 |
}
|
| 100 |
- |
|
| 101 |
- @Override
|
|
| 102 |
- protected void prepareMigrationScript(TopiaSqlSupport topiaSqlSupport, List<String> queries, boolean showSql, boolean showProgression) {
|
|
| 103 |
- super.prepareMigrationScript(topiaSqlSupport, queries, showSql, showProgression);
|
|
| 104 |
- addScript("02", "add-foreign-key-indexes", queries);
|
|
| 105 |
- }
|
|
| 106 | 100 |
}
|
| 107 | 101 |
|
| 108 | 102 |
}
|
| ... | ... | @@ -147,7 +147,7 @@ public abstract class DataSourceMigrationForVersion_4_0_RC3 extends AbstractObse |
| 147 | 147 |
removeForeignKeyIndex(tx, queries, "OBSERVE_SEINE", "targetSample", "set");
|
| 148 | 148 |
removeForeignKeyIndex(tx, queries, "OBSERVE_SEINE", "transmittingBuoy", "floatingObject");
|
| 149 | 149 |
|
| 150 |
- addScript("01", "add-foreign-key-indexes", queries);
|
|
| 150 |
+ addScript("03", "add-foreign-key-indexes", queries);
|
|
| 151 | 151 |
|
| 152 | 152 |
}
|
| 153 | 153 |
|