dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37007
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18934: Removed two startup statements from tracker table alter which created havoc in period table on my...
------------------------------------------------------------
revno: 18934
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-04-17 09:58:50 +0200
message:
Removed two startup statements from tracker table alter which created havoc in period table on mysql and h2
modified:
dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/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-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java 2015-04-10 06:12:03 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/startup/TableAlteror.java 2015-04-17 07:58:50 +0000
@@ -143,8 +143,6 @@
executeSql( "ALTER TABLE program DROP COLUMN maxDaysAllowedInputData" );
- executeSql( "ALTER TABLE period modify periodid int AUTO_INCREMENT" );
-
executeSql( "UPDATE program SET programstage_dataelements=false WHERE displayInReports is null" );
executeSql( "ALTER TABLE programvalidation DROP COLUMN leftside" );
@@ -302,7 +300,6 @@
executeSql( "ALTER TABLE program_attributes DROP COLUMN allowdateinfuture" );
executeSql( "UPDATE program_attributes SET allowFutureDate='false' WHERE allowFutureDate is null" );
- executeSql( "ALTER TABLE period ALTER COLUMN periodid DROP DEFAULT" );
executeSql( "DROP SEQUENCE period_periodid_seq" );
executeSql( "ALTER TABLE programstagesection DROP CONSTRAINT programstagesection_name_key" );