How do I create a postgres enum for a different schema?

if i create a postgres schema like this export const audit = pgSchema("audit"); i am unable to create an enum like this export const myEnum = audit.enum("my_enum", ["A", "B", "C"]);. the only options i have are .schemaName, .table, .view. what should i do instead?
Was this page helpful?