Skip to content

Commit 4ec2c39

Browse files
committed
fix: add localhost to work on CircleCI
1 parent d0cde39 commit 4ec2c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/load.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function load({ env, docker, structurePath, knexConfig }) {
99
? `docker exec -i \`docker-compose ps -q postgres\` psql --username ${
1010
knexConfig.connection.user
1111
} ${knexConfig.connection.database} < ${structurePath}`
12-
: `psql --username ${knexConfig.connection.user} ${
12+
: `psql -h localhost --username ${knexConfig.connection.user} ${
1313
knexConfig.connection.database
1414
} < ${structurePath}`
1515

0 commit comments

Comments
 (0)