Project

General

Profile

Revision 062d3624

ID062d36242c791c0a95287541cf488258114a13b8
Parent 2c2fb8fe
Child 91f64efa

Added by Andreas Müller over 1 year ago

fix #9062 remove StatisticalMeasurementValue.value_old

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v515_518/SchemaUpdater_5152_5180.java
13 13

  
14 14
import org.apache.log4j.Logger;
15 15

  
16
import eu.etaxonomy.cdm.database.update.ColumnRemover;
16 17
import eu.etaxonomy.cdm.database.update.ISchemaUpdater;
17 18
import eu.etaxonomy.cdm.database.update.ISchemaUpdaterStep;
18 19
import eu.etaxonomy.cdm.database.update.SchemaUpdaterBase;
......
148 149
        columnName ="datePublished";
149 150
        fixEmptyPartialsHandling(stepList, tableName, columnName);
150 151

  
152
        //#9062
153
        //remove StatisticalMeasurementValue.value_old
154
        stepName = "remove StatisticalMeasurementValue.value_old";
155
        tableName = "StatisticalMeasurementValue";
156
        String oldColumnName = "value_old";
157
        ColumnRemover.NewInstance(stepList, stepName, tableName, oldColumnName, INCLUDE_AUDIT);
158

  
151 159
        return stepList;
152 160
    }
153 161

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)