Renaming relation field column does not create @map("original") #1609
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
kind/bug
A reported bug.
topic: @map
topic: rename
LSP 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: