From 45c8eb9768c53b5fab0b82a23ac5da9938b723da Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Thu, 8 Feb 2024 17:10:56 +0200 Subject: [PATCH] Removing default value on version column on description template migration script (00.01.010) --- .../updates/00.01.010_Align_DescriptionTemplate_table.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmp-db-scema/updates/00.01.010_Align_DescriptionTemplate_table.sql b/dmp-db-scema/updates/00.01.010_Align_DescriptionTemplate_table.sql index 026bed58a..02bccec45 100644 --- a/dmp-db-scema/updates/00.01.010_Align_DescriptionTemplate_table.sql +++ b/dmp-db-scema/updates/00.01.010_Align_DescriptionTemplate_table.sql @@ -55,6 +55,8 @@ BEGIN ); ALTER TABLE public."DescriptionTemplate" ALTER COLUMN version_status SET NOT NULL; + + ALTER TABLE public."DescriptionTemplate" ALTER COLUMN version DROP DEFAULT; INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.010', '2023-11-02 12:00:00.000000+02', now(), 'Aling DescriptionTemplate table.');