You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
argos/dmp-db-scema/updates/00.00.005_remove_user_assoc...

10 lines
350 B
SQL

DO $$DECLARE
this_version CONSTANT varchar := '00.00.005';
BEGIN
PERFORM * FROM "DBVersion" WHERE version = this_version;
IF FOUND THEN RETURN; END IF;
DROP TABLE IF EXISTS "UserAssociation";
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.00.005', '2020-06-03 12:00:00.000000+03', now(), 'Remove user association table');
END$$;