Keep match catchall
This commit is contained in:
parent
57201788ef
commit
cb60c4afa3
@ -43,6 +43,7 @@ impl Column {
|
|||||||
ColumnType::Uuid => "Uuid",
|
ColumnType::Uuid => "Uuid",
|
||||||
ColumnType::Binary(_) => "Vec<u8>",
|
ColumnType::Binary(_) => "Vec<u8>",
|
||||||
ColumnType::Boolean => "bool",
|
ColumnType::Boolean => "bool",
|
||||||
|
_ => unimplemented!(),
|
||||||
}
|
}
|
||||||
.parse()
|
.parse()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
@ -106,6 +107,7 @@ impl Column {
|
|||||||
let s = s.to_string();
|
let s = s.to_string();
|
||||||
quote! { ColumnType::Custom(#s.to_owned()).def() }
|
quote! { ColumnType::Custom(#s.to_owned()).def() }
|
||||||
}
|
}
|
||||||
|
_ => unimplemented!(),
|
||||||
};
|
};
|
||||||
if !self.not_null {
|
if !self.not_null {
|
||||||
col_def.extend(quote! {
|
col_def.extend(quote! {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user