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

Disable foreign key check while updating database #245

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

oscarminus
Copy link

While testing the new cc-backend version, mysql refused to apply the migration for version 7. The id column is used as a foreign key in an other table. So disabling the foreign key checks while applying the changes did the work.

@moebiusband73
Copy link
Member

Thanks for testing this!
My mistake, my tags tables where empty when testing the migration.
I use something more realistic next time.

@moebiusband73 moebiusband73 merged commit 1176974 into ClusterCockpit:master Mar 14, 2024
1 check passed
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