I have a type named Order.
and there is a field named status which is an enum.,
I checked the postgres database, the status field is not there.
Does prisma store that somewhere else?
s
Sijad
04/26/2020, 4:28 PM
I think prisma create a custome type in db
Sijad
04/26/2020, 4:29 PM
e.g.
Copy code
create type Order as ENUM (
'MY_VALUE_1',
'MY_VALUE_2'
);
d
Dulara Malindu Colombage
04/26/2020, 4:54 PM
I connected to the postgres instance using dbeaver. I can't find any table which stores those enum values.
s
Sijad
04/26/2020, 5:20 PM
in dbeaver extend your public schema then Data Types, you'll see defined enums there