dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05656
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1812: Changed name of datavalue audit db table from datavalueaudit to datavalue_audit
------------------------------------------------------------
revno: 1812
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-04-26 12:35:12 +0200
message:
Changed name of datavalue audit db table from datavalueaudit to datavalue_audit
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/OptionsCategoriesDefaultSortOrderPopulator.java
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml
--
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/dataelement/OptionsCategoriesDefaultSortOrderPopulator.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/OptionsCategoriesDefaultSortOrderPopulator.java 2010-04-12 21:23:33 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/OptionsCategoriesDefaultSortOrderPopulator.java 2010-04-26 10:35:12 +0000
@@ -68,6 +68,7 @@
@Transactional
public void execute()
{
+ executeSql( "drop table datavalueaudit" );
executeSql( "drop table columnorder" );
executeSql( "drop table roworder" );
executeSql( "alter table dataelementcategoryoption drop column categoryid" );
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml 2010-04-23 15:39:05 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml 2010-04-26 10:35:12 +0000
@@ -3,7 +3,7 @@
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
- <class name="org.hisp.dhis.datavalue.DataValueAudit" table="datavalueaudit">
+ <class name="org.hisp.dhis.datavalue.DataValueAudit" table="datavalue_audit">
<id name="id">
<generator class="native" />
</id>