Pull request #491: RED-4684 dossier dictionary hasDictionary flag migration

Merge in RED/persistence-service from RED-4684-master to master

* commit '48400d93aa9b3c1d51d2bb0e2dec944649e14027':
  RED-4684 dossier dictionary hasDictionary flag migration
This commit is contained in:
Timo Bejan 2022-07-19 17:27:52 +02:00
commit 55c656c0b2
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;