[Introspection] Identify Prisma 1 Id defaults #2499
Labels
kind/improvement
An improvement to existing feature and code.
tech/engines
Issue for tech Engines.
topic: introspection
topic: prisma1
Milestone
Problem
Prisma 1 IDs are introspected as Strings without a default/
@default
.Suggested solution
Introspection can be improved following this logic:
Prisma1
orPrisma11
classified database schema?char(25)
orchar(36)
?char(25)
->@default(cuid())
char(36)
->@default(uuid())
Additional context
cuid()
anduuid()
) #2534The text was updated successfully, but these errors were encountered: