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

Add Run pending migrations button #455

Closed
elalemanyo opened this issue Mar 2, 2020 · 1 comment · Fixed by #465
Closed

Add Run pending migrations button #455

elalemanyo opened this issue Mar 2, 2020 · 1 comment · Fixed by #465

Comments

@elalemanyo
Copy link

Rails 6 added ActiveSupport::ActionableError module to define actions we want perform on errors, right from the error page.
PendingMigrationError added by default a button that says Run pending migrations. Clicking on this button would dispatch rails db:migrate action. Page will reload once migrations run successfully.
Would be great to have this button also when we use better_errors.

@RobinDaugherty
Copy link
Member

This is a duplicate of #443. A great idea, but nobody has had the time to implement it yet.

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

Successfully merging a pull request may close this issue.

2 participants