Hello, I’m using Prisma ORM + hasura well. I want ...
# orm-help
k
Hello, I’m using Prisma ORM + hasura well. I want to store the seed data in the database in the empty state. I am using hasura + PostgreSQL. The way I want to proceed is as follows. DB Drop -> hasura Meta / Migration Apply -> Seed script run -> done How can I do DB Drop? Thank you, friends!
r
Hi @KIM SEI HOON Would
prisma migrate reset
perhaps help?
n
Hey 👋 You can definitely use
npx prisma migrate reset
. This command will run the seed script as well. If you want to skip the seeding step you can pass optional
--skip-seed
command as well