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 app.json postdeploy script to run migrations #246

Merged
merged 1 commit into from
May 1, 2016

Conversation

gudmundur
Copy link
Member

Adds bundle exec rake db:schema:load db:migrate as a postdeploy script when creating apps with Heroku App Setups. This will cause Heroku Buttons and review apps to get the database prepared while spinning up the app.

@dmathieu
Copy link
Contributor

dmathieu commented Feb 4, 2016

👍

@brandur
Copy link
Member

brandur commented Feb 4, 2016

+1.

@gudmundur gudmundur merged commit 5964b17 into master May 1, 2016
@gudmundur gudmundur deleted the app-json-postdeploy branch May 1, 2016 14:37
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 this pull request may close these issues.

3 participants