Remove the money compat functions from i64
@@ -148,20 +148,12 @@ impl Type<Postgres> for i64 {
fn type_info() -> PgTypeInfo {
PgTypeInfo::INT8
}
-
- fn compatible(ty: &PgTypeInfo) -> bool {
- *ty == PgTypeInfo::INT8 || *ty == PgTypeInfo::MONEY
- }
}
impl Type<Postgres> for [i64] {
fn type_info() -> PgTypeInfo {
PgTypeInfo::INT8_ARRAY
}
-
- fn compatible(ty: &PgTypeInfo) -> bool {
- *ty == PgTypeInfo::INT8_ARRAY || *ty == PgTypeInfo::MONEY_ARRAY
- }
}
impl Type<Postgres> for Vec<i64> {
