remove dmp fkey from Entity Doi table script
This commit is contained in:
parent
62f1946279
commit
839f74868e
|
@ -0,0 +1,11 @@
|
||||||
|
DO $$DECLARE
|
||||||
|
this_version CONSTANT varchar := '00.01.061';
|
||||||
|
BEGIN
|
||||||
|
PERFORM * FROM "DBVersion" WHERE version = this_version;
|
||||||
|
IF FOUND THEN RETURN; END IF;
|
||||||
|
|
||||||
|
ALTER TABLE public."EntityDoi" DROP CONSTRAINT fk_doi_entityid;
|
||||||
|
|
||||||
|
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.061', '2024-03-27 12:00:00.000000+02', now(), 'Remove DMP fkey from EntityDoi Table.');
|
||||||
|
|
||||||
|
END$$;
|
Loading…
Reference in New Issue