Hi Is it correct that I took prisma in libs/prisma...
# orm-help
d
Hi Is it correct that I took prisma in libs/prisma/src/lib/schema.prisma with nestjs and nx How do I make migrations and run sids? I did this https://github.com/TemaOvchinnikov/olympus-social-network/blob/main/package.json
"prisma": {
"seed": "ts-node libs/prisma/src/lib/seed.ts",
"schema": "./libs/prisma/src/lib/schema.prisma"
`}`the syds don't work(
"seed": "node --loader ts-node/esm libs/prisma/src/lib/seed.ts",
works like this)🚲
r
@Dia TM 👋 In the
seed
command under
prisma
, you don’t have esm whereas you’re using that under
seed
, so maybe that’s causing an issue?
d
I may be trying this video now

Full Stack Type Safety with Angular, Nest, Nx, and Prisma

👍 1