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

Make Table::removeUniqueConstraint() actually work #4667

Merged

Commits on Jun 6, 2021

  1. Make Table::removeUniqueConstraint() actually work

    Table::removeUniqueConstraint() used the wrong method (hasForeignKey())
    instead of hasUniqueConstraint() to check for existing unique
    constraint, causing removeUniqueConstraint() to fail unconditionally.
    
    Also adding tests for removeUniqueConstraint().
    hschletz authored and greg0ire committed Jun 6, 2021
    Copy the full SHA
    0e398ec View commit details
    Browse the repository at this point in the history