update description template code script
This commit is contained in:
parent
03a567bf34
commit
f7efebf295
|
@ -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$$;
|
Loading…
Reference in New Issue