psql drop not null constraint code example Example: postgresql remove not null constraint alter table users alter column email drop not null;