Pull request #267: RED-3408: Set file_manipulation_date to max of lastocrtime, last_updated
Merge in RED/persistence-service from RED-3408 to master * commit '7ba454522e1a66adb5a066e64822b83faa41aaef': RED-3408: Set file_manipulation_date to max of lastocrtime, last_updated
This commit is contained in:
commit
2643b82944
@ -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
|
||||
@ -0,0 +1,2 @@
|
||||
update file set file_manipulation_date = GREATEST(lastocrtime, last_updated);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user