Skip to content

Commit

Permalink
fix: add localhost to work on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Feb 10, 2018
1 parent d0cde39 commit 4ec2c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function load({ env, docker, structurePath, knexConfig }) {
? `docker exec -i \`docker-compose ps -q postgres\` psql --username ${
knexConfig.connection.user
} ${knexConfig.connection.database} < ${structurePath}`
: `psql --username ${knexConfig.connection.user} ${
: `psql -h localhost --username ${knexConfig.connection.user} ${
knexConfig.connection.database
} < ${structurePath}`

Expand Down

0 comments on commit 4ec2c39

Please sign in to comment.