psql add constraint to column code example
Example: Postgres: Create Column add constraint to the column with Query Output
ALTER TABLE customers
ADD COLUMN contact_name VARCHAR NOT NULL;
ALTER TABLE customers
ADD COLUMN contact_name VARCHAR NOT NULL;