Onkel Tem
02/18/2022, 12:43 PMmodel Inout {
id Int ...
name String
muxType ???
}
and I have this type definition for MuxType:
enum MuxType {
Sdi = <any> 'sdi',
Ts = <any> 'ts',
Essence = <any> 'essence'
}
(Btw, how to set proper language for the code block?)Nurul
02/18/2022, 1:53 PMschema.prisma
file as below:
enum muxType {
sdi
ts
essense
}
model Inout {
id Int @id
name String
muxType muxType
}
You could use Slack's /snippet
functionality to use proper language.Onkel Tem
02/19/2022, 11:28 AM