New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relation fields are removed after npx prisma db pull #16100
Comments
@NicolaGenesinJetty could you also share the SQL schema of your database? That will help with reproducing the issue. |
Sure!
|
If I use the provided SQL, I can reproduce.
After adding
to the candidate table it works as expected. Do you observe something similar @NicolaGenesinJetty ? |
@Jolg42 sorry, I've removed most fields to make it easy to read for you and missed that line. These are the untouched tables
and
|
Ok I can can reproduce in Related issue is #11022 So I can recommend to wait until, next release, |
Thanks for the issue! |
Thank you so much! I love Prisma! |
Bug description
Virtual fields are removed after npx prisma db pull
How to reproduce
If you do
npx prisma db pull
theanswers
andcandidate
fields will be removedExpected behavior
npx prisma db pull
won't remove virtual fieldsPrisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: