do you know how we can create enum in
do you know how we can create enum in schema.json or do we have to use string type only @1benw
2 Replies
since you are on a postgres enabled DB, you can create an enum type and column via the postgres connection (ALTER TABLE)
the UI will treat it as a string, though
thanks i did that same using prisma orm cause i thought it would be better if i can use directly with schema.json file.