Type Definition diesel::
type VarChar = Text;
This type is generally interchangeable with
TEXT, so Diesel has this as an
alias rather than a separate type (Diesel does not currently support
One notable exception to this is with arrays on PG.
TEXT cannot be
VARCHAR. It is recommended that you always use
you need a string array on PG.