dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32727
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16688: TableAlteror, drop column expression.nullifblank
------------------------------------------------------------
revno: 16688
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-09-10 10:53:21 -0400
message:
TableAlteror, drop column expression.nullifblank
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2014-09-09 12:20:09 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2014-09-10 14:53:21 +0000
@@ -730,6 +730,7 @@
executeSql( "update expression set missingvaluestrategy = 'SKIP_IF_ANY_VALUE_MISSING' where nullifblank = true or nullifblank is null" );
executeSql( "update expression set missingvaluestrategy = 'NEVER_SKIP' where nullifblank = false" );
executeSql( "alter table expression alter column missingvaluestrategy set not null" );
+ executeSql( "alter table expression drop column nullifblank" );
upgradeDataValuesWithAttributeOptionCombo();
upgradeCompleteDataSetRegistrationsWithAttributeOptionCombo();