From 64873eb88140d398fc585cb4c4fb552c295f8178 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 1 Apr 2023 19:07:00 +0100 Subject: [PATCH] Ensure `DEFINE FIELD` statements deserialize correctly --- lib/src/sql/statements/define.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/sql/statements/define.rs b/lib/src/sql/statements/define.rs index 9cfb7a64..dd591888 100644 --- a/lib/src/sql/statements/define.rs +++ b/lib/src/sql/statements/define.rs @@ -1001,11 +1001,11 @@ fn event(i: &str) -> IResult<&str, DefineEventStatement> { pub struct DefineFieldStatement { pub name: Idiom, pub what: Ident, - pub flex: bool, pub kind: Option, pub value: Option, pub assert: Option, pub permissions: Permissions, + pub flex: bool, } impl DefineFieldStatement {