heroku/vault-tools — pull request #27 by jroes (2013-12-16 17:07:45+00:00)
Title: Break db schema pull from database creation

This might be slightly controversial.

The DB tasks in vault-tools pull down database schemas from various private repositories. A user running `rake` would need access to these private repos.

Since Travis CI doesn't currently have access to these private repositories, I saw two options:

1. Add some private keys for Travis to the dependent repos
2. Use a schema download/bump strategy where we start committing `contrib` in our projects and bump when needed.
3. Use git submodules or subtrees and probably scratch our eyes out

The second option seemed to be the simplest and straightforward to me. I didn't want to give Travis a bunch of extra access, and I didn't really know how. And I thought submodules or subtrees would be harder to manage than a rake task.

This pull request just separates creating/dropping databases from pulling down the schema dumps from private repos.