Does anyone know how to write `::character varying` correctly in schema?

refIcon: varchar("ref_icon", { length: 255 }).default('activity'::character varying),

I am getting the error:

⚠ Error(TS1005) | , expected.
⚠ Error(TS2554) | Expected 1 arguments, but got 3.
⚠ Error(TS2304) | Cannot find name varying .
Was this page helpful?