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

[DBAL-464] Fix dropping primary key with autoincrement column in MySQL #430

Merged
merged 3 commits into from
Dec 18, 2013

Conversation

deeky666
Copy link
Member

This PR fixes a table alteration scenario in MySQL, where a primary key is to be dropped that contains an autoincrement column. MySQL requires the autoincrement column attribute to be removed first before dropping the primary key. Otherwise the table alteration will fail.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-682

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666
Copy link
Member Author

@doctrine/team-doctrine2 Is there anything that needs to be done here preventing a merge?

beberlei added a commit that referenced this pull request Dec 18, 2013
[DBAL-464] Fix dropping primary key with autoincrement column in MySQL
@beberlei beberlei merged commit a0c61de into doctrine:master Dec 18, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants