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

Migration job fails on a new database #744

Closed
severo opened this issue Jan 31, 2023 · 1 comment · Fixed by #747
Closed

Migration job fails on a new database #744

severo opened this issue Jan 31, 2023 · 1 comment · Fixed by #747
Labels
bug Something isn't working

Comments

@severo
Copy link
Collaborator

severo commented Jan 31, 2023

When run on a new database, where the migrations have never been run, the migration script that adds a "force" field fails with:

ERROR: 2023-01-31 14:36:28,825 - root - Migration failed: The fields "{'priority'}" do not exist on the document "JobSnapshot"

Reported by @rtrompier

@severo severo added the bug Something isn't working label Jan 31, 2023
@severo
Copy link
Collaborator Author

severo commented Jan 31, 2023

hot fix: #743 to disable it for now on prod.

severo added a commit that referenced this issue Jan 31, 2023
* fix: 🐛 fix the migration scripts to be able to run on new base

fixes #744

* style: 💄 fix style

(it changes everything!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant