update description template code script

This commit is contained in:
CITE\amentis 2024-07-29 12:03:36 +03:00
parent 03a567bf34
commit f7efebf295
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
DO $$DECLARE
this_version CONSTANT varchar := '00.01.070';
BEGIN
PERFORM * FROM "DBVersion" WHERE version = this_version;
IF FOUND THEN RETURN; END IF;
UPDATE public."DescriptionTemplate" SET code = group_id;
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.070', '2024-07-29 12:00:00.000000+02', now(), 'Update DescriptionTemplate code column.');
END$$;