Files
medusa-store/docs/content/troubleshooting/database-errors/_privileges.md
Shahed Nasser 9748d8b7c0 docs: added a note about db user create privilege (#4584)
* docs: added a note about db user create privilege

* added troubleshooting section
2023-07-21 17:39:43 +03:00

431 B

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.