Hi, I’m using Prisma with PlanetScale, so I’ve add...
# orm-help
v
Hi, I’m using Prisma with PlanetScale, so I’ve added the table relations and indexes but every time I run
db pull
and
prisma generate
the indexes gone, is this normal?
👀 1
h
Hey Vin 👋 I don't think that's normal? I personally don't use PlanetScale very much anymore, but if I look back at my schemas on PlanetScale they seem to have both regular indexes and secondary indexes. If you could show your Prisma schema along with your schema on PlanetScale, that'd be appreciated.
n
Are you on the latest version of prisma? Could you please provide a sample reproduction so that we could debug this?
v
Hi, I’m sorry for the super late reply. The fault is on my end, I forgot to sync the schema with db. It’s fine now.
Thank you anyway! 🙏
fast parrot 1