drop index if exists users_email_idx;
alter table users drop constraint if exists email_lower;
alter table users alter column uid set not null;

-- There's no need nor use for restoring the rel_invitations table, as it is
-- never used.
