RED-4684 dossier dictionary hasDictionary flag migration

This commit is contained in:
Timo Bejan 2022-07-19 18:24:34 +03:00
parent d84b99405b
commit 48400d93aa
2 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,8 @@ databaseChangeLog:
file: db/changelog/sql/24.0-clean-up-duplicate-dictionary-entries.sql
- include:
file: db/changelog/24-add-unique-constraint-for-dictionary.yaml
- include:
file: db/changelog/release-3.3.12/1-fix-dossier-dictionary.sql
- include:
file: db/changelog/25-add-index-to-dictionary-entry-tables.yaml
- include:
@ -91,4 +93,3 @@ databaseChangeLog:
file: db/changelog/sql/37-update-colors.sql
- include:
file: db/changelog/sql/38-update-soft-deleted-processed-flag.sql

View File

@ -0,0 +1 @@
update entity set has_dictionary=true where dossier_id is not null and has_dictionary = false;