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
tsg
tsg4mo ago
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
Anonymous_hacker
Anonymous_hackerOP4mo ago
thanks i did that same using prisma orm cause i thought it would be better if i can use directly with schema.json file.
Want results from more Discord servers?
Add your server