Skip to content

autogen doesn't render check constraint name #125

@sqlalchemy-bot

Description

@sqlalchemy-bot

Migrated issue, originally created by Sok Ann Yap (@sayap)

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.


Attachments: alembic-check-constraint-name.diff

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeasy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions