Is there any way to declare enum types on prisma c...
# orm-help
m
Is there any way to declare enum types on prisma cli without build any app(only using the cli)? I have string fields in postgresql but I would like to know if it's possible to expose these strings as enum values.
h
I dont get it. If you have few strings you can surely make a enum out of them
m
Yes, but only using the cli? Without build an app with yoga?
h
Yes, you can consume
m
Do you have an example how "override" a property generated by typescript-client to assign this enum values?
h
No, sorry 😅