dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11609
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3352: Removed outdated tables
------------------------------------------------------------
revno: 3352
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-04-11 18:38:05 +0200
message:
Removed outdated tables
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 2011-04-10 13:48:29 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2011-04-11 16:38:05 +0000
@@ -119,6 +119,13 @@
executeSql( "ALTER TABLE map DROP COLUMN zoom" );
executeSql( "ALTER TABLE maplayer DROP CONSTRAINT maplayer_mapsource_key" );
+ // extended data element
+ executeSql( "ALTER TABLE dataelement DROP CONSTRAINT fk_dataelement_extendeddataelementid" );
+ executeSql( "ALTER TABLE dataelement DROP COLUMN extendeddataelementid" );
+ executeSql( "ALTER TABLE indicator DROP CONSTRAINT fk_indicator_extendeddataelementid" );
+ executeSql( "ALTER TABLE indicator DROP COLUMN extendeddataelementid" );
+ executeSql( "DROP TABLE extendeddataelement" );
+
// ---------------------------------------------------------------------
// Update tables for dimensional model
// ---------------------------------------------------------------------