Skip to content

Commit

Permalink
reconfigure migration config
Browse files Browse the repository at this point in the history
  • Loading branch information
apburnes committed Jan 10, 2024
1 parent e98aa35 commit 721d205
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ci/partials/run-database-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ run:
dir: src
path: bash
args:
- -c,
- node --env-file=.env ./ci/tasks/configure-database-migrations.js
- node ./node_modules/.bin/db-migrate up -e production
- node node_modules/.bin/db-migrate up --config database.json -e production
4 changes: 3 additions & 1 deletion ci/tasks/configure-database-migrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const fileName = 'database.json';
const baseConfig = {
driver: 'pg',
port: '5432',
ssl: 'true',
ssl: {
rejectUnauthorized: false,
},
schema: 'public',
};

Expand Down

0 comments on commit 721d205

Please sign in to comment.