Ensure DEFAULT
clause is displayed on DEFINE FIELD
statements (#2662)
This commit is contained in:
parent
ebabe9554b
commit
b83b9d3e3e
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ impl Display for DefineFieldStatement {
|
||||||
if let Some(ref v) = self.kind {
|
if let Some(ref v) = self.kind {
|
||||||
write!(f, " TYPE {v}")?
|
write!(f, " TYPE {v}")?
|
||||||
}
|
}
|
||||||
|
if let Some(ref v) = self.default {
|
||||||
|
write!(f, " DEFAULT {v}")?
|
||||||
|
}
|
||||||
if let Some(ref v) = self.value {
|
if let Some(ref v) = self.value {
|
||||||
write!(f, " VALUE {v}")?
|
write!(f, " VALUE {v}")?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue