7 lines
276 B
MySQL
7 lines
276 B
MySQL
|
|
-- The rel_invitations table has never been used and may be assumed to be empty.
|
||
|
|
drop table if exists rel_invitations;
|
||
|
|
|
||
|
|
alter table users add constraint email_lower check (email = lower(email));
|
||
|
|
alter table users alter column uid drop not null;
|
||
|
|
create index on users (email);
|