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

Heroku review app db bootstrapping #34

Open
2 tasks
austinpray opened this issue Feb 3, 2016 · 0 comments
Open
2 tasks

Heroku review app db bootstrapping #34

austinpray opened this issue Feb 3, 2016 · 0 comments

Comments

@austinpray
Copy link
Member

Assuming the staging app has a environment variable called "PARENT_DATABASE_URL" that is the exact same URL as the "DATABASE_URL". We should have a rake task that

  • dumps PARENT_DATABASE_URL
  • loads the dump into DATABASE_URL

and then make this script run on the postdeploy hook

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