Creates an enumeration column, with the custom SQL type sql, for storing enums of type T using this database-specific type.
See Wiki for more details.
Parameters
SQL definition for the column
Function that converts a value received from a database to an enumeration instance T
Function that converts an enumeration instance T to a value that will be stored to a database