argos/dmp-db-scema/updates/00.00.005_remove_user_assoc...

10 lines
350 B
MySQL
Raw Permalink Normal View History

2020-10-05 11:08:57 +02:00
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$$;