postgres alter column to unique 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;