Error parsing attribute "@@index": The Gin index field type Uuid
has no default operator class.
#14587
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: extendedIndexes
topic: index/gin
Milestone
Bug description
When I set a
GIN
index to a field of type array of UUIDs it throws error. However, as far as I can tell, the GIN operator for UUID has been added in postgres v10.How to reproduce
This is the schema that reproduces the bug:
When hover on
@@index
it says:Error parsing attribute "@@index": The Gin index field type 'Uuid' has no default operator class.
Expected behavior
Should index the field correctly.
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: