Fix name for unique constraint constructor in code snippets