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

Check that all que migrations have been applied at startup #375

Open
jpaulgs opened this issue Aug 26, 2022 · 1 comment
Open

Check that all que migrations have been applied at startup #375

jpaulgs opened this issue Aug 26, 2022 · 1 comment

Comments

@jpaulgs
Copy link
Contributor

jpaulgs commented Aug 26, 2022

We maintain a CURRENT_VERSION of the que schema in lib/que/migrations.rb but we do not appear to enforce that all migrations have been applied on startup.

Let's fail loudly if migrations have not been applied.

@jpaulgs
Copy link
Contributor Author

jpaulgs commented Aug 26, 2022

We could add an option / environment variable to allow this check to be bypassed, if for some reason a user of que required that...

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

No branches or pull requests

1 participant