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

Support removing unique constraints #304

Open
BuonOmo opened this issue Jan 15, 2024 · 0 comments
Open

Support removing unique constraints #304

BuonOmo opened this issue Jan 15, 2024 · 0 comments
Labels
rails 7.1 issue introduced in rails 7.1

Comments

@BuonOmo
Copy link
Collaborator

BuonOmo commented Jan 15, 2024

As of now we have the following error message:

unimplemented: cannot drop UNIQUE constraint "uniq_rails_1e07660b77" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead

It seems that with a local version of the #remove_constraint method we could support it.

See excluded test test_remove_unique_constraint_by_column (as of writting, this exclusion is part of the rails 7.1 PR).

@BuonOmo BuonOmo added the rails 7.1 issue introduced in rails 7.1 label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rails 7.1 issue introduced in rails 7.1
Projects
None yet
Development

No branches or pull requests

1 participant