Keep match catchall

This commit is contained in:
Billy Chan 2021-09-20 11:13:46 +08:00 committed by Chris Tsang
parent 57201788ef
commit cb60c4afa3

View File

@ -43,6 +43,7 @@ impl Column {
ColumnType::Uuid => "Uuid",
ColumnType::Binary(_) => "Vec<u8>",
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! {