fix: use knex 2.4.0 everywhere

This commit is contained in:
Ricardo Arturo Cabral Mejía
2023-01-13 23:38:30 -05:00
parent d1cdd9672a
commit a9b03b27d7
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ COPY ["package.json", "package-lock.json","knexfile.js","./"]
ADD migrations /build/migrations 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 RUN npm run db:migrate

View File

@ -106,7 +106,7 @@ services:
entrypoint: entrypoint:
- sh - sh
- -c - -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: volumes:
- ./migrations:/code/migrations - ./migrations:/code/migrations
- ./knexfile.js:/code/knexfile.js - ./knexfile.js:/code/knexfile.js

View File

@ -77,7 +77,7 @@ services:
entrypoint: entrypoint:
- sh - sh
- -c - -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: volumes:
- ../../migrations:/code/migrations - ../../migrations:/code/migrations
- ../../knexfile.js:/code/knexfile.js - ../../knexfile.js:/code/knexfile.js