I have this statement in Postgres to create a unique index: CREATE UNIQUE INDEX CONCURRENTLY organization_user_ux1 ON organization_user (organization_id,user_id);
... I need to drop this unique index, so I tried:
ALTER TABLE public.organization_user DROP INDEX organization_user_ux1;
and recieved error: ERROR: syntax error at or near "organization_user_ux1" using flyway to execute these scripts.
How do I correctly undo this concurrent unique index?