-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Duplicate key name 'FK98293BFB217F5972' #148
Comments
This is caused because the index / foreign key constraint already exist (perhaps because the dbCreate attribute on the data source is set to "update", which would be bad). We can guard against this by adding a preCondition to check if the index / foreign key constriant already exists, but until recently I was convinced that the foreignKeyConstraintExists precondition did not work in Liquibase 1.9.x. I seem to have been mistaken as it's been working for me over the past few weeks (maybe a MySQL version issue?). |
From Tan Li
The text was updated successfully, but these errors were encountered: