Instantly share code, notes, and snippets.

Embed
What would you like to do?
Circle CI rails postgresql structure load
# This file should be in RAILS_ROOT
database:
override:
- cp config/database.yml.ci config/database.yml
- psql -U ubuntu circle_test < db/structure.sql
test:
adapter: postgresql
database: circle_test
username: ubuntu
encoding: unicode
@schpet

This comment has been minimized.

Show comment
Hide comment
@schpet

schpet Jul 7, 2017

thank you for posting this ✌️

schpet commented Jul 7, 2017

thank you for posting this ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment