Skip to content

How to deal with the introspected names, when using our own migrations? #2249

Answered by ryands17
JMitnik asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @JMitnik 👋
Yes is this an issue a lot of folks are facing due to the bring your own migrations strategy for now. The best way to approach this would be using a post instrospection script as stated here so you could then after prisma introspect run this script so that it maps the model fields correctly without manual intervention!

This would be the best approach until prisma migrate is stable.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JMitnik
Comment options

Answer selected by JMitnik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants