handle unique constraints in changeColumn() for postgres #46

Merged
merged 1 commit into from Sep 14, 2012

2 participants

@ryanmeador

There doesn't seem to be support for unique constraints passed to the changeColumn() function for the Postgres backend; they just get ignored. I added support for it. Please pull this change into your repo.

@kunklejr

Any chance you'd be willing to add a test for that so it doesn't slip through the cracks again in the future? If not, I can write one, but I might not get to it right away.

@ryanmeador

I can probably figure out how to do that. I'll try to get to it today.

@kunklejr kunklejr merged commit 394e342 into db-migrate:master Sep 14, 2012
@kunklejr

Fix is in version 0.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment