Done when
\d usersand\d postslist your NOT NULL columns, defaults, and unique constraints.- Every bad insert from the story fails, and you can name the constraint in each error message.
- You can answer: the app already validates the signup form. Why enforce
UNIQUEin the database as well?