Skip to content

Commit

Permalink
fix: use knex 2.4.0 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
cameri committed Feb 2, 2023
1 parent d1cdd96 commit a9b03b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.railwayapp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY ["package.json", "package-lock.json","knexfile.js","./"]

ADD migrations /build/migrations

RUN npm install -g knex@2.3.0 && npm install --quiet
RUN npm install -g knex@2.4.0 && npm install --quiet

RUN npm run db:migrate

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ services:
entrypoint:
- sh
- -c
- 'cd code && npm install --no-save --quiet knex@2.3.0 pg@8.8.0 && npx knex migrate:latest'
- 'cd code && npm install --no-save --quiet knex@2.4.0 pg@8.8.0 && npx knex migrate:latest'
volumes:
- ./migrations:/code/migrations
- ./knexfile.js:/code/knexfile.js
Expand Down
2 changes: 1 addition & 1 deletion test/integration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
entrypoint:
- sh
- -c
- 'cd code && npm install --no-save --quiet knex@2.3.0 pg@8.8.0 && npx knex migrate:latest'
- 'cd code && npm install --no-save --quiet knex@2.4.0 pg@8.8.0 && npx knex migrate:latest'
volumes:
- ../../migrations:/code/migrations
- ../../knexfile.js:/code/knexfile.js
Expand Down

0 comments on commit a9b03b2

Please # to comment.