If no TYPE is found on SQL DEFINE FIELD default to “any”
This commit is contained in:
parent
dfb10a6316
commit
b25ce6d059
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func (p *parser) parseDefineFieldStatement() (stmt *DefineFieldStatement, err er
|
|||
}
|
||||
|
||||
if stmt.Type == "" {
|
||||
return nil, &ParseError{Found: "", Expected: []string{"TYPE"}}
|
||||
stmt.Type = "any"
|
||||
}
|
||||
|
||||
if _, _, err = p.shouldBe(EOF, SEMICOLON); err != nil {
|
||||
|
|
Loading…
Reference in a new issue