dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36238
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18554: SQL view, minor
------------------------------------------------------------
revno: 18554
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-03-10 12:40:01 +0100
message:
SQL view, 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 2015-03-10 11:36:58 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2015-03-10 11:40:01 +0000
@@ -709,6 +709,7 @@
executeSql( "alter table sqlview drop column viewid" );
executeSql( "update sqlview set type = 'QUERY' where query is true" );
executeSql( "update sqlview set type = 'VIEW' where type is null" );
+ executeSql( "alter table sqlview drop column query" );
executeSql( "UPDATE dashboard SET publicaccess='--------' WHERE publicaccess is null" );