From 004b68b98de2c7400dbfc442b0b7c708434f539f Mon Sep 17 00:00:00 2001
From: Tom Zhao <tom.zhao@dsv.su.se>
Date: Mon, 11 Nov 2024 10:20:16 +0100
Subject: [PATCH] task/3382: Update table answer with enum value NOT_APPLICABLE
 as well

---
 .../db/migration/V390__harmonize_table_attribute_name.sql        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/main/resources/db/migration/V390__harmonize_table_attribute_name.sql b/core/src/main/resources/db/migration/V390__harmonize_table_attribute_name.sql
index b17571b149..7911d7496f 100644
--- a/core/src/main/resources/db/migration/V390__harmonize_table_attribute_name.sql
+++ b/core/src/main/resources/db/migration/V390__harmonize_table_attribute_name.sql
@@ -1365,6 +1365,7 @@ alter table `checklist_answer`
 
 -- update to NOT_APPLICABLE because of typo in code
 update `checklist_answer` set answer = 'NOT_APPLICABLE' where answer = 'NOT_APLICABLE';
+update `answer` set answer = 'NOT_APPLICABLE' where answer = 'NOT_APLICABLE';
 
 -- table: checklist_question