Skip to content

Instantly share code, notes, and snippets.

@vrybas
Created April 18, 2013 03:40
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrybas/5409914 to your computer and use it in GitHub Desktop.
Save vrybas/5409914 to your computer and use it in GitHub Desktop.
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
Copy link

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