RED-3408: Set file_manipulation_date to max of lastocrtime, last_updated

This commit is contained in:
deiflaender 2022-03-01 09:13:52 +01:00
parent 42e2d630c1
commit 7ba454522e
2 changed files with 4 additions and 0 deletions

View File

@ -21,3 +21,5 @@ databaseChangeLog:
file: db/changelog/9-changed-annotation-modification-date.changelog.yaml
- include:
file: db/changelog/10-added-file-manipulation-date.changelog.yaml
- include:
file: db/changelog/sql/10-set-file-manipulation-date.sql

View File

@ -0,0 +1,2 @@
update file set file_manipulation_date = GREATEST(lastocrtime, last_updated);