Issue #125 new

autogen doesn't render check constraint name

Sok Ann Yap
created an issue

In _render_check_constraint, the check constraint name would be stored in opts, but opts is not used later.

Attached is a fix with the logic copied from _render_unique_constraint.