docs: added a note about db user create privilege (#4584)

* docs: added a note about db user create privilege

* added troubleshooting section
This commit is contained in:
Shahed Nasser
2023-07-21 17:39:43 +03:00
committed by GitHub
parent d22569f379
commit 9748d8b7c0
5 changed files with 17 additions and 3 deletions

View File

@@ -70,6 +70,10 @@ DATABASE_URL=<YOUR_DATABASE_URL>
Where `<YOUR_DATABASE_URL>` is the URL of your PostgreSQL database.
#### Database User Privileges
The database user that you use must have create privileges. If you're using the `postgres` superuser, then it should have these privileges by default. Otherwise, make sure to grant your user create priviliges. You can learn how to do that in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/ddl-priv.html).
### Changing PostgreSQL Schema
By default, the `public` schema is used in PostgreSQL. You can change it to use a custom schema by passing the `search_path` option in the database URL. For example: