Merge branch 'hotfix-index' into 'release/2.589.x'

hotfix: precondition check for index creation

See merge request redactmanager/persistence-service!907
This commit is contained in:
Kevin Tumma 2024-12-19 11:31:16 +01:00
commit eb8a9d7644

View File

@ -2,6 +2,11 @@ databaseChangeLog:
- changeSet:
id: add-indexes-to-file-table
author: timo
preConditions:
- not:
indexExists:
indexName: file_dossier_id_last_updated_idx
tableName: dossier
changes:
- createIndex:
columns:
@ -12,6 +17,15 @@ databaseChangeLog:
indexName: file_dossier_id_last_updated_idx
unique: false
tableName: file
- changeSet:
id: add-indexes-to-file-table2
author: timo
preConditions:
- not:
indexExists:
indexName: file_dossier_id_deleted_hard_deleted_time_idx
tableName: dossier
changes:
- createIndex:
columns:
- column: