-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
PG::UndefinedColumn: ERROR: column good_job_processes.lock_type does not exist #1405
Comments
The migration was introduced in v3.29.0 (#999). If you recently upgraded to GoodJob v4, you'll need to go to version https://github.com/bensheldon/good_job#upgrading-v3-to-v4 |
Oh, that explains things! I didn't see that I bumped a major version! Thank you for the quick reply. |
It looks like you didn't generate and run all of the migrations on v3.99. (I squash all of the migrations every new release. That's so that someone adopting GoodJob for the first time doesn't have to generate like 40 migration files all at once.) You should point your gemfile to 3.99, then run |
yup, that was it! I wonder if you could somehow detect that? or squash them one version later perhaps. I see now the docs do list it in that order, but totally missed that.
thanks! |
Started having these errors in my logs:
I can't make sense of it or find any information to suggest what is wrong. Any whelp appreciated.
The text was updated successfully, but these errors were encountered: