From 04b6be23a1969213e73d333e0d0f9a4f7a846d57 Mon Sep 17 00:00:00 2001 From: ivanm Date: Mon, 24 Feb 2025 18:13:56 +0100 Subject: [PATCH] fix: refs #8613 fk claimEnd --- db/versions/11444-orangeMastic/01-firstScript.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db/versions/11444-orangeMastic/01-firstScript.sql b/db/versions/11444-orangeMastic/01-firstScript.sql index 4b7bfb2863..38cd7c0914 100644 --- a/db/versions/11444-orangeMastic/01-firstScript.sql +++ b/db/versions/11444-orangeMastic/01-firstScript.sql @@ -1,5 +1,7 @@ ALTER TABLE vn.claimEnd - MODIFY COLUMN claimDestinationFk tinyint(3) unsigned NOT NULL DEFAULT 1, + MODIFY COLUMN claimDestinationFk tinyint(3) unsigned NOT NULL DEFAULT 1; + +ALTER TABLE vn.claimEnd ADD CONSTRAINT fk_claimEnd_claimDestination FOREIGN KEY (claimDestinationFk) REFERENCES claimDestination(id) -- 2.40.1