galaxyproject / galaxy Public
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
Migrations broken on mysql #6401
Comments
|
https://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025#file-mysql_migration-txt-L1426 |
|
Right, missed that one. Same issue as with workflow_invocation_step_output_dataset_collection_association_ibfk_1 |
|
So, in order to do a simple test, how many tables do I will have at the end of migration ?
|
|
xref #8400 |
|
You can close this now. |
Fix galaxyproject#6401 . Fix galaxyproject#8400 . Remove `index=True` from some `Column()` definitions in lib/galaxy/model/mapping.py when the index was not part of any migration.
Fix galaxyproject#6401 . Fix galaxyproject#8400 . Remove `index=True` from some `Column()` definitions in lib/galaxy/model/mapping.py when the index was not part of any migration.
Fix galaxyproject#6401 . Fix galaxyproject#8400 . Remove `index=True` from some `Column()` definitions in lib/galaxy/model/mapping.py when the index was not part of any migration.
This is with a fresh mysql 5.7 installation and database:
https://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025
Some of them are harmless and referencing keys that we eliminated later on, but a couple newer ones seem problematic, like
https://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025#file-mysql_migration-txt-L536sequencing request table, eliminated long agohttps://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025#file-mysql_migration-txt-L872eliminated in migration 91https://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025#file-mysql_migration-txt-L1241 -- probably breaks data manager job association table on mysql, solution is to change TEXT type to
TrimmedString(255)fordata_manager_idin DataManagerJobAssociation. Which we also do for the tool_id, so this feels like the right thing to dohttps://gist.github.com/mvdbeek/ef980138db903a9a0ad617f2ac95b025#file-mysql_migration-txt-L1391 -- needs to be 64 chars long max, so
workflow_invocation_step_output_dataset_collection_association_ibfk_1is too long.The text was updated successfully, but these errors were encountered: