dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06603
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1829: modified startup routine to clean unwanted columns from section table.
------------------------------------------------------------
revno: 1829
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-07-09 14:16:11 +0200
message:
modified startup routine to clean unwanted columns from section table.
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 2010-06-27 15:46:41 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2010-07-09 12:16:11 +0000
@@ -145,6 +145,9 @@
//drop table reporttable_categoryoptioncombos
executeSql( "DROP table reporttable_categoryoptioncombos" );
+ // drop unused label column from section table
+ executeSql( "ALTER TABLE section DROP COLUMN label" );
+
log.info( "Tables updated" );
}