From 671d05e0e16e37d2ea5bd7e32d0c24521f0cccb3 Mon Sep 17 00:00:00 2001
From: Tom Zhao <tom.zhao@dsv.su.se>
Date: Thu, 3 Apr 2025 15:02:04 +0200
Subject: [PATCH] 87: Adjust sql script

---
 .../db/migration/V7__project_parent_phase2_review.sql         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 394207522f..dda4ed8e2c 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
@@ -20,7 +20,9 @@ alter table `project`
 
 
 alter table `reviewer_approval`
-    add column `is_cloned` bit(1) null default null;
+    add column `is_cloned` boolean not null default false;
+
+update `reviewer_approval` set is_cloned = false;
 
 alter table `reviewer_approval`
     add column `clone_timestamp` datetime null default null;