diff --git a/sea-orm-codegen/src/entity/column.rs b/sea-orm-codegen/src/entity/column.rs index df286fc7..1f6815a0 100644 --- a/sea-orm-codegen/src/entity/column.rs +++ b/sea-orm-codegen/src/entity/column.rs @@ -43,6 +43,7 @@ impl Column { ColumnType::Uuid => "Uuid", ColumnType::Binary(_) => "Vec", ColumnType::Boolean => "bool", + _ => unimplemented!(), } .parse() .unwrap(); @@ -106,6 +107,7 @@ impl Column { let s = s.to_string(); quote! { ColumnType::Custom(#s.to_owned()).def() } } + _ => unimplemented!(), }; if !self.not_null { col_def.extend(quote! {