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

Fix rolling back columns with indices for SQLite and SQL Server #2128

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

ndm2
Copy link
Contributor

@ndm2 ndm2 commented Oct 24, 2022

Instead of adding a new test for just this one problem, I've updated the existing reversible migrations test (it includes the problematic case of adding a column with an index to an existing table) and made it cross DBMS compatible, to add some more coverage in the process.

AFAICT, previously only MySQL was used except in one test for Postgres. Going forward, adding more cross DBMS coverage probably wouldn't hurt, so that finding DBMS specific issues becomes a bit easier.

refs #2126

@MasterOdin MasterOdin changed the title Fix rolling back columns with indices fails with SQLite and SQL Server. Fix rolling back columns with indices for SQLite and SQL Server Nov 30, 2022
@MasterOdin MasterOdin merged commit b95d40c into cakephp:0.x Nov 30, 2022
@ndm2 ndm2 deleted the 0.x-fix-rollback-add-column-with-index branch August 3, 2023 16:04
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