Skip to content

Instantly share code, notes, and snippets.

@olivermt
Created June 24, 2017 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olivermt/92c7c33dc89e36eb0da16d8540435e13 to your computer and use it in GitHub Desktop.
Save olivermt/92c7c33dc89e36eb0da16d8540435e13 to your computer and use it in GitHub Desktop.
SET MIX_ENV=fixtures
mix ecto.drop
mix ecto.create
psql -U postgres -c "CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public" sow_test
mix ecto.migrate
mix sow.db.fixtures
SET MIX_ENV=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment