From 5107f3b3eb13a8e0286b353c249bb1d0eabdf012 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 31 Jan 2025 12:40:02 +0100 Subject: [PATCH] fix constraint name --- .../6-hs-booking/630-booking-item/6300-hs-booking-item.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/db/changelog/6-hs-booking/630-booking-item/6300-hs-booking-item.sql b/src/main/resources/db/changelog/6-hs-booking/630-booking-item/6300-hs-booking-item.sql index 4c145652..5d3084b6 100644 --- a/src/main/resources/db/changelog/6-hs-booking/630-booking-item/6300-hs-booking-item.sql +++ b/src/main/resources/db/changelog/6-hs-booking/630-booking-item/6300-hs-booking-item.sql @@ -25,7 +25,7 @@ create table if not exists hs_booking.item caption varchar(80) not null, resources jsonb not null, - constraint booking_item_has_project_or_parent_asset + constraint booking_item_has_project_or_parent_item check (projectUuid is not null or parentItemUuid is not null) ); --//