You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the command npx medusa db:migrate, all my tables are being created in the public schema instead of being created in the medusa schema I set up in my PostgreSQL. Below is the screenshot of my medusa-config.ts and the database:
Expected behavior
Create all medusa tables on schema "medusa"
Actual behavior
Creating part of tables on schema "public", and anothers in "medusa"
Package.json file
Node.js version
v20.10.0
Database and its version
PostgreSQL 16.2
Operating system name and version
Windows 10
Browser name
Microsoft Edge
What happended?
When I run the command npx medusa db:migrate, all my tables are being created in the public schema instead of being created in the medusa schema I set up in my PostgreSQL. Below is the screenshot of my medusa-config.ts and the database:
Expected behavior
Create all medusa tables on schema "medusa"
Actual behavior
Creating part of tables on schema "public", and anothers in "medusa"
Link to reproduction repo
https://github.com/medusajs/medusa
The text was updated successfully, but these errors were encountered: