my seeds from seed.graphql dont get seeded in pris...
# prisma-whats-new
m
my seeds from seed.graphql dont get seeded in prisma cluster when i run "prisma deploy". Is this intended? Or did make a syntax error? no errors displayed.
r
Was it a fresh deployment? I mean was database being created for the first time? Seeding only works during first deployment. Subsequent
prisma deploy
commands won't run seeding.
m
I did a "prisma delete" followed by a "prisma deploy". meant to restart with a fresh database.
r
Ok. It should have worked in that case. Can you please check if there is entry for
seed
in
prisma.yml
file and if path of
seed.graphql
is correct in there.
Copy code
seed:
  import: <path_to_seed.graphql>
👍 1
👑 1
m
Thx, that did the trick 🙂 🐿️
👍 1