diff --git a/sql/field.go b/sql/field.go index 730b2fc0..932cea13 100644 --- a/sql/field.go +++ b/sql/field.go @@ -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 {