From 8465d4c6873301335dca8055a9174bf4f6a532bd Mon Sep 17 00:00:00 2001 From: Tom Zhao <tom.zhao@dsv.su.se> Date: Wed, 2 Apr 2025 15:18:46 +0200 Subject: [PATCH] 87: Loose up some SQL-constraints --- .../db/migration/V7__project_parent_phase2_review.sql | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/main/resources/db/migration/V7__project_parent_phase2_review.sql b/core/src/main/resources/db/migration/V7__project_parent_phase2_review.sql index dd5e3e588c..394207522f 100644 --- a/core/src/main/resources/db/migration/V7__project_parent_phase2_review.sql +++ b/core/src/main/resources/db/migration/V7__project_parent_phase2_review.sql @@ -6,7 +6,7 @@ alter table `project` add column `root_project_id` bigint(20) null default null; alter table `project` - add column `clone_timestamp` datetime not null default null; + add column `clone_timestamp` datetime null default null; alter table `project` add constraint fk_project_parent_project_id_project_id @@ -20,9 +20,7 @@ alter table `project` alter table `reviewer_approval` - add column `is_cloned` bit(1) not null default false; + add column `is_cloned` bit(1) null default null; alter table `reviewer_approval` - add column `clone_timestamp` datetime not null default null; - -update table `reviewer_approval` set is_cloned = false; \ No newline at end of file + add column `clone_timestamp` datetime null default null;