2022-11-02 08:41:40 +01:00
|
|
|
DO $$DECLARE
|
|
|
|
this_version CONSTANT varchar := '00.00.012';
|
|
|
|
BEGIN
|
|
|
|
PERFORM * FROM "DBVersion" WHERE version = this_version;
|
|
|
|
IF FOUND THEN RETURN; END IF;
|
|
|
|
|
2022-12-08 12:12:54 +01:00
|
|
|
ALTER TABLE public."DMP" DROP COLUMN "DOI";
|
2022-11-02 08:41:40 +01:00
|
|
|
|
|
|
|
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.00.012', '2022-10-27 10:50:00.000000+02', now(), 'Delete doi column from dmp table');
|
|
|
|
|
|
|
|
END$$;
|