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
Harsh Singh
06/22/2022, 3:02 AM
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
Nurul
06/22/2022, 10:50 AM
Are you on the latest version of prisma?
Could you please provide a sample reproduction so that we could debug this?
v
Vin Yap
06/28/2022, 7:34 AM
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.