Add nullable
to ColumnDef
This commit is contained in:
parent
de1f5d397d
commit
8d8415817d
@ -248,7 +248,11 @@ impl ColumnDef {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn null(mut self) -> Self {
|
pub fn null(self) -> Self {
|
||||||
|
self.nullable()
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn nullable(mut self) -> Self {
|
||||||
self.null = true;
|
self.null = true;
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user