12 lines
385 B
SQL
12 lines
385 B
SQL
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$$; |