Define custom database column types with `customType<{data, driverData?, config?}>({dataType, toDriver?, fromDriver?})` for type-safe database abstraction with value mapping.