Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autogen doesn't render check constraint name #125

Closed
sqlalchemy-bot opened this issue May 14, 2013 · 2 comments
Closed

autogen doesn't render check constraint name #125

sqlalchemy-bot opened this issue May 14, 2013 · 2 comments
Labels
bug Something isn't working easy

Comments

@sqlalchemy-bot
Copy link

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

@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

[43ed408]

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (@zzzeek):

  • changed status to closed

@sqlalchemy-bot sqlalchemy-bot added bug Something isn't working easy labels Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy
Projects
None yet
Development

No branches or pull requests

1 participant