From a049e59437869cb8d5a4c60a153f9d63fe3b5b76 Mon Sep 17 00:00:00 2001 From: Luan Tran <8613937+luantr@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:04:21 +0100 Subject: [PATCH] migrate motebehov column from null to svar_behov --- .../db/migration/V1_10__replace_NULL_with_SVAR_MOTEBEHOV.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/main/resources/db/migration/V1_10__replace_NULL_with_SVAR_MOTEBEHOV.sql diff --git a/src/main/resources/db/migration/V1_10__replace_NULL_with_SVAR_MOTEBEHOV.sql b/src/main/resources/db/migration/V1_10__replace_NULL_with_SVAR_MOTEBEHOV.sql new file mode 100644 index 00000000..c5d57b3b --- /dev/null +++ b/src/main/resources/db/migration/V1_10__replace_NULL_with_SVAR_MOTEBEHOV.sql @@ -0,0 +1,3 @@ +UPDATE motebehov +SET skjematype = 'SVAR_BEHOV' +WHERE skjematype IS NULL;