alter table users alter column email drop not null;
alter table users alter column email set not null;