dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20419
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9310: Reverted r 9309
------------------------------------------------------------
revno: 9310
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-12-13 19:44:23 +0100
message:
Reverted r 9309
modified:
dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java
dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/jdbc/JdbcResourceTableStore.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-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java 2012-12-13 18:41:20 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java 2012-12-13 18:44:23 +0000
@@ -426,7 +426,6 @@
final PeriodType periodType = dataElement.getPeriodType();
values.add( String.valueOf( dataElement.getId() ) );
- values.add( dataElement.getUid() );
values.add( dataElement.getName() );
values.add( periodType != null ? String.valueOf( periodType.getId() ) : null );
values.add( periodType != null ? periodType.getName() : null );
=== modified file 'dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/jdbc/JdbcResourceTableStore.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/jdbc/JdbcResourceTableStore.java 2012-12-13 18:41:20 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/jdbc/JdbcResourceTableStore.java 2012-12-13 18:44:23 +0000
@@ -216,7 +216,7 @@
}
final String sql = "CREATE TABLE " + TABLE_NAME_DATA_ELEMENT_STRUCTURE +
- " ( dataelementid INTEGER NOT NULL PRIMARY KEY, uid CHARACTER(11), dataelementname VARCHAR(250), periodtypeid INTEGER, periodtypename VARCHAR(250) )";
+ " ( dataelementid INTEGER NOT NULL PRIMARY KEY, dataelementname VARCHAR(250), periodtypeid INTEGER, periodtypename VARCHAR(250) )";
log.info( "Create data element structure SQL: " + sql );