Medusa v2.0 seeding external database? #8423
Unanswered
Shameel123
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Without seeding and just running the migrations is giving me this error currently:
Not sure if it is related to Medusa v2 or with how the Postgresql is setup on cloud at this stage. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am in a bit of a pinch here. I have been able to successfully set up medusa v2.0 on local but now I am trying to point the backend to external db hosted on cloud platform.
I have successfully run migration for it but I am getting problem in how to seed the db.
I found this:
For v2, there seems to be
seed.ts
file.It is not properly documented how to use this file to seed external database.
Can someone help in providing a proper guideline for how to do that?
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions