[EPIC] Re-Introspection
See original GitHub issueWe want to remove one of the remaining big pain points of Introspection: If you manually adjusted your data model after introspection (to rename fields or models, or add default IDs for example) these changes are currently lost once you introspect again (“re-introspect”, for example, because your database was changed manually or migrated by another tool).
This project consists of many individual problems that we are tackling one by one:
- https://github.com/prisma/prisma/issues/2503: Keep manual changes to relation field names
- https://github.com/prisma/prisma/issues/2545: Keep
@map
and@@map
- https://github.com/prisma/prisma/issues/2534: Keep defaults that are not persisted in the database
- https://github.com/prisma/prisma/issues/1997: Keep order of models of existing Prisma schema
- https://github.com/prisma/prisma/issues/2968: Keep order of fields of existing Prisma schema
- https://github.com/prisma/prisma/issues/3052: Keep comments in schema
- https://github.com/prisma/prisma/issues/3335: Keep
@updatedAt
We might also decide that some of them are not worth the effort.
Some more issues are listed related to this under: https://github.com/prisma/prisma/labels/topic%3A re-introspection
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:19 (13 by maintainers)
Top Results From Across the Web
Hoenix - Introspection (Extended Version) - YouTube
Hoenix - Introspection (Extended Version). 1.9M views 3 years ago. Epic Mondays Music Extensions. Epic Mondays Music Extensions.
Read more >epic — Introspection — Ryan J Noble
So many of us get caught up in the deception that epic somehow means large. We spend so much time chasing a platform...
Read more >HOENIX - Introspection (Epic Intense Emotional Futuristic)
Stream HOENIX - Introspection (Epic Intense Emotional Futuristic) by AB on desktop and mobile. Play over 265 million tracks for free on ...
Read more >EPIC Introspection re-implementation · Issue #395 - GitHub
use rewritten introspection in migration engine #391. The text was updated successfully, but these errors were encountered: ...
Read more >FHIR Bulk Data Access - open.epic :: Explore By Interface Type
Introspect. List. The FHIR List resource defines a collection of records that can be used within many places.
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 Free
Top 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
Thanks for putting the effort into this feature. It is greatly appreciated!
We have only had a few issues with re-introspection:
@updatedAt
is not maintained. https://github.com/prisma/prisma/issues/2075I tested
prisma introspect --experimental-reintrospection
on the database @nikolasburk posted in another issue, where he used@@map
and renamed relation fields: https://github.com/prisma/prisma/issues/2425#issuecomment-649709485 All changes were kept 🚀