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

animallocation table is still being created with column named "By" #1510

Closed
traviswparker opened this issue Jul 31, 2024 · 1 comment
Closed
Labels
Milestone

Comments

@traviswparker
Copy link

dbupdate.py update_34803 is creating table animallocation using the reserved MySQL keyword By for a column name. A later update function renames the column to MovedBy

This breaks updates from 47 on MySQL as the table is never created. Modifying update_34803 to create the column as MovedBy and rolling back the DBV config value to 34802 allows the schema update to proceed.

Should probably create the column as MovedBy and allow the later rename to fail if it is already MovedBy

@bobintetley bobintetley added this to the 49 milestone Aug 1, 2024
@bobintetley
Copy link
Member

Thanks for the feedback, updated now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants