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

Tenant migrations not run with rails db:prepare #645

Open
archonic opened this issue Apr 5, 2020 · 0 comments
Open

Tenant migrations not run with rails db:prepare #645

archonic opened this issue Apr 5, 2020 · 0 comments

Comments

@archonic
Copy link

archonic commented Apr 5, 2020

Rails 6 introduced rails db:prepare which runs safely runs db:create, db:seed and db:migrate. This is especially helpful for deploy scripts that don't need to be aware if they're being run for the first time or the Nth time.

I've found that rails db:prepare only runs migrations in the public schema. If I can find the time, I'll submit a PR to fix this.

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