argos/dmp-db-scema/updates/00.01.054_Add_Section_Id_to...

12 lines
385 B
MySQL
Raw Normal View History

2024-02-21 11:46:24 +01:00
DO $$DECLARE
this_version CONSTANT varchar := '00.01.054';
BEGIN
PERFORM * FROM "DBVersion" WHERE version = this_version;
IF FOUND THEN RETURN; END IF;
ALTER TABLE public."DmpUser"
ADD COLUMN section_id uuid;
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.054', '2024-02-21 12:00:00.000000+02', now(), 'Add Section_id Column to DmpUser Table.');
END$$;