diff --git a/diesel/src/sql_types/ord.rs b/diesel/src/sql_types/ord.rs index e3ba8d3fdc6f..ff92fabe7fa3 100644 --- a/diesel/src/sql_types/ord.rs +++ b/diesel/src/sql_types/ord.rs @@ -19,6 +19,8 @@ impl SqlOrd for sql_types::Nullable where T: SqlOrd + SqlType SqlOrd for sql_types::Array {} +#[cfg(feature = "postgres")] +impl SqlOrd for sql_types::Numeric {} #[cfg(feature = "mysql")] impl SqlOrd for sql_types::Datetime {}