Skip to content

Commit

Permalink
docs: add some info regarding pg roles (#335)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjie <benjie@jemjie.com>
  • Loading branch information
moustacheful and benjie committed Aug 21, 2023
1 parent 0db5249 commit b4972e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ npx graphile-worker -c "postgres:///my_db"
(`npx` looks for the `graphile-worker` binary locally; it's often better to use
the `"scripts"` entry in `package.json` instead.)

Note: Graphile Worker expects the Postgres role used at runtime to be the same
as the role used while running the migrations. If you need to run your
migrations as a different role, one solution is to explicitly change the owner
of the `graphile_worker.*` tables to be the same role as is used at runtime.

The following CLI options are available:

```
Expand Down

0 comments on commit b4972e8

Please sign in to comment.