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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user