Renaming relation field column does not create @map("original") #1609
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: @map
topic: rename
Bug description
When renaming a column whose type is an enum, it will rename it, but will not add
@map("originalName")
How to reproduce
zMena
Expected behavior
It should rename and map to original to prevent errors
Prisma information
Starting schema:
After F2 renaming (error)
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: