Composite Indices: MongoDB Migration Connector #12408
Labels
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
tech/engines/migration engine
Issue in the Migration Engine
topic: composite-types
topic: embedded documents
topic: indexes
topic: mongodb
Milestone
A model index definition can point to fields in composite types. We should be able to push them correctly in the MongoDB migration connector.
If having a period in the index field definition, such as:
@@index([foo.bar])
Using
db push
should use"foo.bar"
as the field name when writing to the database.Dependencies
The PSL issue must be merged before starting to work with this one.
Full proposal
Private document in Notion
The text was updated successfully, but these errors were encountered: