Enable password field types

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-03 19:10:51 +00:00
parent 1901f6fd8c
commit 74658132c1

View file

@ -16,7 +16,7 @@ package sql
func (p *parser) parseType() (exp string, err error) { func (p *parser) parseType() (exp string, err error) {
allowed := []string{"any", "url", "uuid", "color", "email", "phone", "array", "object", "domain", "record", "string", "number", "double", "custom", "boolean", "datetime", "latitude", "longitude"} allowed := []string{"any", "url", "uuid", "color", "email", "phone", "array", "object", "domain", "record", "string", "number", "double", "custom", "boolean", "password", "datetime", "latitude", "longitude"}
_, lit, err := p.shouldBe(IDENT) _, lit, err := p.shouldBe(IDENT)
if err != nil { if err != nil {