SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, you can add a UNIQUE constraint after the fact. However, if you have non-unique entries in your table Postgres will complain about it until you correct them.