dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24725
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12172: Minor
------------------------------------------------------------
revno: 12172
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-09-19 16:04:49 +0200
message:
Minor
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 2013-09-17 16:29:29 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2013-09-19 14:04:49 +0000
@@ -663,6 +663,9 @@
executeSql( "alter table mapview drop column dataelementgroupid" );
executeSql( "alter table mapview drop column indicatorgroupid" );
+
+ executeSql( "update table mapview set userorganisationunit = false where userorganisationunit is null" );
+ executeSql( "update table mapview set userorganisationunitchildren = false where userorganisationunitchildren is null" );
}
private void upgradeChartRelativePeriods()