How can I add a Prefix Index?
I migrated from Prisma, and I have a column with
but the introspection schema didn't seem to recognize the index length:
is there a workaround to set the index length? maybe with raw sql?
Thank you in advance.
varchar(2000) which I indexed with @@index([columnName(length: 191)])but the introspection schema didn't seem to recognize the index length:
is there a workaround to set the index length? maybe with raw sql?
Thank you in advance.