Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed command examples #244

Merged
merged 2 commits into from
Nov 21, 2016
Merged
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
4 changes: 2 additions & 2 deletions docs/default-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ create role editor nologin;
So how does this apply to PostGraphQL? PostGraphQL requires you to have at least one user (role that can log in) when connecting to the server. That role will be specified in your connection string and will from here on out be referred to as the `auth_user`. You’d connect with your `auth_user` as follows:

```bash
postgraphql postgres://auth_user@localhost:5432/mydb
postgraphql -c postgres://auth_user@localhost:5432/mydb
```

The `auth_user` will have all the priveleges PostGraphQL might need.
Expand All @@ -45,5 +45,5 @@ After that you could also specify more roles like a `user_role` which should be
In order to configure an default role just do the following:

```bash
postgraphql postgres://auth_user@localhost:5432/mydb --default-role default_role
postgraphql -c postgres://auth_user@localhost:5432/mydb --default-role default_role
```