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

@@ -0,0 +1,3 @@
The database user you use in the `database_url` Medusa backend configuration must have create privileges. Otherwise, you'll face problems when running migrations.
If you're using the `postgres` superuser, then it should have these privileges by default. Otherwise, make sure to grant your user create privileges. You can learn how to do that in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/ddl-priv.html).