diff --git a/lib/src/sql/statements/define/field.rs b/lib/src/sql/statements/define/field.rs index e9014aaf..3f3e1684 100644 --- a/lib/src/sql/statements/define/field.rs +++ b/lib/src/sql/statements/define/field.rs @@ -84,6 +84,9 @@ impl Display for DefineFieldStatement { if let Some(ref v) = self.kind { write!(f, " TYPE {v}")? } + if let Some(ref v) = self.default { + write!(f, " DEFAULT {v}")? + } if let Some(ref v) = self.value { write!(f, " VALUE {v}")? }