[Epic] `extendedIndexes` GA
See original GitHub issueThe feature currently encompasses the sort
and length
arguments as well as the type
argument on Postgres.
It was released in 3.5 and 3.6 (type
).
Main docs here: https://www.prisma.io/docs/concepts/components/prisma-schema/indexes
Preview feature feedback can be found here. https://github.com/prisma/prisma/issues/10540
Stabilizing this is a BREAKING CHANGE.
Feature Work
- Fully investigate GiST and GIN index types
- Then:
- Support GiST: https://github.com/prisma/prisma/issues/10634
- Support GIN: https://github.com/prisma/prisma/issues/7410
- Support BRIN
- Support SP-GiST
- https://github.com/prisma/language-tools/issues/1139
- Then:
- #12818
- Investigate SQL Server index types
- SQL Server index clustering settings https://github.com/prisma/prisma/issues/12871
- https://github.com/prisma/language-tools/issues/1138
Bugs
- recreation of indexes https://github.com/prisma/prisma/issues/11631
Documentation
Reference
Use cases
Polishing
- error message to use length on text in mysql https://github.com/prisma/prisma/issues/10292
- error message incorrect https://github.com/prisma/prisma/issues/10566
Stabilizing
- Remove extendedIndexes preview feature from datamodel: https://github.com/prisma/prisma/issues/12777
- Remove extendedIndexes preview feature from docs
- Upgrade guide since this is a breaking change
Issues to close after GA
Out of scope for GA
- add info to dmmf https://github.com/prisma/prisma/issues/3998
- Mysql length limits (discovery document)
- Mysql length limits config dependent that one needs some more investigation https://github.com/prisma/prisma/issues/10990
- Mysql length limit validation in schema validation https://github.com/prisma/prisma/issues/10288
- diff and duplicate key error upon second migrate dev run https://github.com/prisma/prisma/issues/10405
- Cyclic creation of the same migration https://github.com/prisma/prisma/issues/12693
- Document: Mysql length limits and db configuration
- Document: Sort order effects in singular vs compound index
- Document: covering indexes (this one is optional)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Prisma 4.0.0 Release - GitClear
We introduced extendedIndexes in 3.5.0 and have constantly been shipping improvements in the subsequent releases to the configuration of indexes ...
Read more >GA Medical Group Switches to Epic EHR to Boost Health Data ...
A Georgia medical group went live with a new Epic EHR implementation after 18 months of planning.
Read more >mammographic imaging screening - WorldWideScience
One of the most extended indexes to measure the image quality in an objective way is the Image Quality Figure (I.Q.F.). This parameter...
Read more >Highlights - FeedsAnywhere
Introspecting databases that organize objects in multiple database schemas; Managing multi-schema database setups directly from Prisma schema; Generating ...
Read more >Untitled
... -universal-20860-extended-indexes-assorted/p-SPM196944008 2022-12-12 daily ... 0.5 https://www.sears.com/epic-products-monogram-m-keychain-bottle-opener ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
GIN/GIST/SP-GiST/BRIN work going on here: https://github.com/prisma/prisma-engines/pull/2858
really appreciate this work prisma team! I’ve been having trouble getting prisma to not create migrations dropping a GIN index i tried adding manually to the db, so this feature would really help!