Closed iLucasPires closed 1 month ago
Hi @iLucasPires
I recommend you to use server tasks for seed, see https://nitro.unjs.io/guide/tasks
See example with Drizzle ORM: https://hub.nuxt.com/docs/recipes/drizzle#seed-the-database-optional
I understand, Vlw vlw(Brazilian slang for thank you)
Hi, I'm trying to use the
hashPassword
function from thenuxt-auth-utils
package to hash passwords in a Prisma seed file. However, I'm unable to import or use the function correctly within my seeding logic.Example Code (Prisma seed file):
I would appreciate any help or guidance on resolving this issue.
Thanks!