RED-705-Remove DELETED status for dossiers and files and use deleted timestamps instead
- add sql script to update the soft delete time to current time when file is deleted and not time set
This commit is contained in:
parent
ab244bd4bb
commit
ab208e778f
@ -65,3 +65,5 @@ databaseChangeLog:
|
||||
file: db/changelog/26-application-config-table.changelog.yaml
|
||||
- include:
|
||||
file: db/changelog/sql/26-initiliaze-application-configuration-table.sql
|
||||
- include:
|
||||
file: db/changelog/sql/27-update-soft-delete-date.sql
|
||||
|
||||
@ -0,0 +1 @@
|
||||
update file set deleted = CURRENT_TIMESTAMP where deleted is null and hard_deleted_time is null and processing_status = 'DELETED';
|
||||
Loading…
x
Reference in New Issue
Block a user