From b54638c742f4c3edbecc8b9d824fe279138d496b Mon Sep 17 00:00:00 2001 From: geir-waagboe Date: Mon, 28 Oct 2024 14:56:44 +0100 Subject: [PATCH] Disable legevakt-kontor and behandler --- .../V7_08__lock_legevakt_and_disable_behandler.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/resources/db/migration/V7_08__lock_legevakt_and_disable_behandler.sql diff --git a/src/main/resources/db/migration/V7_08__lock_legevakt_and_disable_behandler.sql b/src/main/resources/db/migration/V7_08__lock_legevakt_and_disable_behandler.sql new file mode 100644 index 00000000..86f2f96a --- /dev/null +++ b/src/main/resources/db/migration/V7_08__lock_legevakt_and_disable_behandler.sql @@ -0,0 +1,7 @@ +UPDATE BEHANDLER_KONTOR SET +dialogmelding_enabled=null, +dialogmelding_enabled_locked=true, +updated_at=now() +WHERE her_id = '94615'; + +UPDATE BEHANDLER SET invalidated=now(),updated_at=now() WHERE behandler_ref='494e967f-c1a5-4beb-9dc8-bedccb9a6d59';