diff --git a/README.md b/README.md index 202b633..a748f09 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Under the hood the [node-postgres](https://github.com/brianc/node-postgres) is u ## Install ``` -npm i fastify-postgres --save +npm i pg fastify-postgres --save ``` ## Usage Add it to you project with `register` and you are done! diff --git a/package.json b/package.json index 1fb6b3c..226b1a7 100644 --- a/package.json +++ b/package.json @@ -27,13 +27,16 @@ }, "homepage": "https://github.com/fastify/fastify-postgres#readme", "dependencies": { - "fastify-plugin": "^1.4.0", - "pg": "^7.8.0" + "fastify-plugin": "^1.4.0" }, "devDependencies": { "fastify": "^1.13.4", + "pg": "*", "pg-native": "^3.0.0", "standard": "^12.0.0", "tap": "^12.5.2" + }, + "peerDependencies": { + "pg": ">=6.0.0" } }