diff --git a/dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.41/V2_41_41__Fix_Audit_Type_Case_Sensitive.sql b/dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.41/V2_41_41__Fix_Audit_Type_Case_Sensitive.sql index 05a0b818872d..72fffebd37d6 100644 --- a/dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.41/V2_41_41__Fix_Audit_Type_Case_Sensitive.sql +++ b/dhis-2/dhis-support/dhis-support-db-migration/src/main/resources/org/hisp/dhis/db/migration/2.41/V2_41_41__Fix_Audit_Type_Case_Sensitive.sql @@ -16,4 +16,10 @@ update trackedentityattributevalueaudit set audittype = 'CREATE' where audittype update trackedentityattributevalueaudit set audittype = 'UPDATE' where audittype = 'update'; update trackedentityattributevalueaudit set audittype = 'DELETE' where audittype = 'delete'; update trackedentityattributevalueaudit set audittype = 'READ' where audittype = 'read'; -update trackedentityattributevalueaudit set audittype = 'SEARCH' where audittype = 'search'; \ No newline at end of file +update trackedentityattributevalueaudit set audittype = 'SEARCH' where audittype = 'search'; + +update trackedentitydatavalueaudit set audittype = 'CREATE' where audittype = 'create'; +update trackedentitydatavalueaudit set audittype = 'UPDATE' where audittype = 'update'; +update trackedentitydatavalueaudit set audittype = 'DELETE' where audittype = 'delete'; +update trackedentitydatavalueaudit set audittype = 'READ' where audittype = 'read'; +update trackedentitydatavalueaudit set audittype = 'SEARCH' where audittype = 'search'; \ No newline at end of file