Skip to content

Commit

Permalink
feat: Lowercase sql script [DHIS2-18474]
Browse files Browse the repository at this point in the history
  • Loading branch information
muilpp committed Nov 27, 2024
1 parent 1f4131d commit a69a776
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ select
coalesce (cl.modifiedby, '--')
from (
select audit.trackedentityattributevalueauditid, audit.trackedentityid, audit.created, tea.trackedentityattributeid, audit.audittype, audit.modifiedby,
lead (audit.value) over (partition by audit.trackedentityid, audit.trackedentityattributeid order by audit.created DESC) as previouschangelogvalue,
lead (audit.value) over (partition by audit.trackedentityid, audit.trackedentityattributeid order by audit.created desc) as previouschangelogvalue,
audit.value as currentchangelogvalue
from trackedentityattributevalueaudit audit
join trackedentity t using(trackedentityid)
Expand Down

0 comments on commit a69a776

Please sign in to comment.