How can I define json specific key index in schema...
# orm-help
a
How can I define json specific key index in schema?
r
@Ahmet 👋 You cannot directly add it in the schema, you need to add via Migrate via the following steps: 1. Create the migration using
prisma migrate dev --create-only
2. Add the index in the generated
.sql
file 3. Apply the migration using
prisma migrate dev
.