Add Constraints « Constraints « PostgreSQL






1.Adding a Constraint
2.ALTER TABLE employee ADD CONSTRAINT some_nameForConstaint UNIQUE (id)
3.ALTER TABLE employee ALTER COLUMN name SET NOT NULL