v8.0.0-rc.8-dev.17: Remove enum declaration-order SQL rewriting (#30223)
- Prisma: 43 events in the last 90 days
- Prisma: 43th Release in the last 90 days
- Previous: earlier the same day · v8.0.0-rc.8-dev.16: fix(psl-parser): validate AST kinds across parser copies (#30228)
What happened
Linked issue n/a — no ticket. At a glance const Priority = enumType ( 'Priority' , { codecId : 'pg/int4@1' , nativeType : 'int4' } , member ( 'Low' , 0 ) , member ( 'High' , 1 ) , member ( 'Urgent' , 2 ) , ) ; Ordering stays ordinary SQL: ORDER BY "priority" ASC . Numeric values encode the priority ranking explicitly; text-backed enum values sort as text rather than by declaration order. Summary Enum metadata should…
Summary assembled by rule from the sources below