From 59514b18ff93fb8832f148647a22e3ba1f79c6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Nowak?= Date: Tue, 7 Jul 2026 10:43:49 +0200 Subject: [PATCH] IBX-12029: Adjusted index of content id and version to be unique --- src/bundle/Core/Resources/config/storage/legacy/schema.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bundle/Core/Resources/config/storage/legacy/schema.yaml b/src/bundle/Core/Resources/config/storage/legacy/schema.yaml index 68353ee052..7791494fd7 100644 --- a/src/bundle/Core/Resources/config/storage/legacy/schema.yaml +++ b/src/bundle/Core/Resources/config/storage/legacy/schema.yaml @@ -315,9 +315,10 @@ tables: ibexa_content_version: indexes: ibexa_content_version_status: { fields: [status] } - ibexa_content_version_idx_ver: { fields: [contentobject_id, version] } ibexa_content_version_idx_status: { fields: [contentobject_id, status] } ibexa_content_version_creator_id: { fields: [creator_id] } + uniqueConstraints: + ibexa_content_version_idx_ver: { fields: [contentobject_id, version] } id: id: { type: integer, nullable: false, options: { autoincrement: true } } fields: