seed in production env #1692
Unanswered
ranran2121
asked this question in
Q&A
Replies: 1 comment
-
What exactly is it that you are trying to seed? There is only one data point that needs to be created when Umami is initialized, and that's the Admin account (created at the end of migration 01_init). Otherwise we hold all the logical key/values in the app itself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
sorry for the question but I am not well experienced yet. I need help to solve the following scenario:
I need to populate a table of my DB and I created a seed file. According to the documentation, I understand that
prisma db seed
), which works greatprisma reset
and thenprisma migrate dev
Apart from this issue, I will then need to apply migration (and seed) in the QA and PROD env, too. And I cannot reset the DB of course . Any suggestion about
prisma migrate dev
is not running the seedThank you
Beta Was this translation helpful? Give feedback.
All reactions