alter add not null constraint postgres code example
Example 1: postgresql add not null constraint
alter table users alter column email set not null;
Example 2: postgresql add not null and not empty constraint
ads character varying(60) NOT NULL CHECK (ads <> '')