From e27a9e78a7c908d6648ef0a5e989aa87f7228774 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 5 Dec 2017 01:13:50 +0000 Subject: [PATCH] Enable password field type without need to quote --- sql/exprs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/exprs.go b/sql/exprs.go index 5712af7b..9c2326db 100644 --- a/sql/exprs.go +++ b/sql/exprs.go @@ -220,7 +220,7 @@ func (p *parser) parseDuration() (time.Duration, error) { func (p *parser) parseType() (t, k string, err error) { - _, t, err = p.shouldBe(IDENT, STRING) + _, t, err = p.shouldBe(IDENT, STRING, PASSWORD) if err != nil { err = &ParseError{Found: t, Expected: allowedTypes} return