dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #08879
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2230: Removed not-null constraint on aggregated*value until its implemented in datamart
------------------------------------------------------------
revno: 2230
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2010-11-29 23:02:46 +0100
message:
Removed not-null constraint on aggregated*value until its implemented in datamart
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-11-25 14:51:44 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2010-11-29 22:02:46 +0000
@@ -201,9 +201,9 @@
// prepare aggregateXXXValue tables for offline diffs
- executeSql( "ALTER TABLE aggregateddatavalue ADD COLUMN modified timestamp with time zone not null default now();");
+ executeSql( "ALTER TABLE aggregateddatavalue ADD COLUMN modified timestamp with time zone default now();");
- executeSql( "ALTER TABLE aggregatedindicatorvalue ADD COLUMN modified timestamp with time zone not null default now();");
+ executeSql( "ALTER TABLE aggregatedindicatorvalue ADD COLUMN modified timestamp with time zone default now();");
log.info( "Tables updated" );
}