Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:

services:
postgres:
image: postgres:9.6-alpine
image: postgres:16-alpine
env:
POSTGRES_USER: postgrator
POSTGRES_PASSWORD: postgrator
POSTGRES_DB: postgrator
POSTGRES_HOST_AUTH_METHOD: md5
ports:
- 5432:5432
options: >-
Expand Down
2 changes: 1 addition & 1 deletion test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Postgrator = require('../postgrator')

const path = require('path')
const migrationDirectory = path.join(__dirname, 'migrations')
const pgUrl = 'tcp://postgrator:postgrator@localhost:5432/postgrator'
const pgUrl = 'postgres://postgrator:postgrator@localhost:5432/postgrator'

describe('API', function() {
const postgrator = new Postgrator({
Expand Down
2 changes: 1 addition & 1 deletion test/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Postgrator from '../'

import * as path from 'path'
const migrationDirectory = path.join(__dirname, 'migrations')
const pgUrl = 'tcp://postgrator:postgrator@localhost:5432/postgrator'
const pgUrl = 'postgres://postgrator:postgrator@localhost:5432/postgrator'

describe('TypeScript:API', function() {
const postgrator = new Postgrator({
Expand Down
2 changes: 1 addition & 1 deletion test/postgresConnectionUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Postgrator = require('../postgrator')

const path = require('path')
const migrationDirectory = path.join(__dirname, 'migrations')
const pgUrl = 'tcp://postgrator:postgrator@localhost:5432/postgrator'
const pgUrl = 'postgres://postgrator:postgrator@localhost:5432/postgrator'

describe('Postgres connection url', function() {
const postgrator = new Postgrator({
Expand Down
Loading