Skip to content

Instantly share code, notes, and snippets.

@emaraschio
Last active August 29, 2015 14:07
Show Gist options
  • Save emaraschio/c4c7918756605528ebd6 to your computer and use it in GitHub Desktop.
Save emaraschio/c4c7918756605528ebd6 to your computer and use it in GitHub Desktop.
For Example: PGError: ERROR: relation "users" does not exist
You need to execute the prepare and migrate command, to get all the schema up to date and with a good shape:
RAILS_ENV=test rake test:prepare
RAILS_ENV=test rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment