@@map not working on postgress enums starting version 4.6.0 #16209
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: enum
"type"/block `enum`
Milestone
Bug description
The latest
prisma@4.6.0
stops recognizing@@map
expressions on enums, whileprisma@4.5.0
does.How to reproduce
This is my
schema.prisma
file:When I create a migration with
prisma@4.6.0
usingnpx prisma migrate dev --name initial --create-only
I get the following:When I create a migration with
prisma@4.5.0
usingnpx prisma migrate dev --name initial --create-only
I get the following:Expected behavior
The same migration as with version 4.5.0.
Prisma information
already shared.
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: