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 .
1 Reply
BluePin
BluePinOP9mo ago
No description
Want results from more Discord servers?
Add your server