Skip to content

Fix reflection of unique constraints#199

Merged
jklukas merged 1 commit into
sqlalchemy-redshift:masterfrom
eeshugerman:patch-1
Apr 29, 2020
Merged

Fix reflection of unique constraints#199
jklukas merged 1 commit into
sqlalchemy-redshift:masterfrom
eeshugerman:patch-1

Conversation

@eeshugerman

@eeshugerman eeshugerman commented Apr 23, 2020

Copy link
Copy Markdown
Contributor

I noticed this because alembic revision --autogenerate was inserting a bunch of op.create_unique_constraint calls in revision scripts, even when the constraints in question already exist in the database.

Todos

  • MIT compatible
  • Tests | N/A?
  • Documentation | N/A?
  • Updated CHANGES.rst

I noticed this because `alembic revision --autogenerate` was inserting a bunch of `op.create_unique_constraint` calls in revision scripts, even when the constraints in question already exist in the database.

@jklukas jklukas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integration tests are passing, so LGTM.

@jklukas jklukas merged commit e183ddd into sqlalchemy-redshift:master Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants