RED-3408: Set file_manipulation_date to max of lastocrtime, last_updated
This commit is contained in:
parent
42e2d630c1
commit
7ba454522e
@ -21,3 +21,5 @@ databaseChangeLog:
|
|||||||
file: db/changelog/9-changed-annotation-modification-date.changelog.yaml
|
file: db/changelog/9-changed-annotation-modification-date.changelog.yaml
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/10-added-file-manipulation-date.changelog.yaml
|
file: db/changelog/10-added-file-manipulation-date.changelog.yaml
|
||||||
|
- include:
|
||||||
|
file: db/changelog/sql/10-set-file-manipulation-date.sql
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
update file set file_manipulation_date = GREATEST(lastocrtime, last_updated);
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user