RED-4660 source id migration
This commit is contained in:
parent
55c656c0b2
commit
5a823902cc
@ -93,3 +93,5 @@ databaseChangeLog:
|
||||
file: db/changelog/sql/37-update-colors.sql
|
||||
- include:
|
||||
file: db/changelog/sql/38-update-soft-deleted-processed-flag.sql
|
||||
- include:
|
||||
file: db/changelog/sql/39-update-manual-redaction-source-id.sql
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
update manual_redaction
|
||||
set source_id = reason
|
||||
where add_to_dictionary = true
|
||||
and source_id is null
|
||||
and reason is not null
|
||||
and reason != 'Dictionary Request';
|
||||
Loading…
x
Reference in New Issue
Block a user