Alow @thing to be used as DEFAULT values in fields
This commit is contained in:
parent
94c0f32ae4
commit
9436a752d8
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ func (p *parser) parseBoolean() (bool, error) {
|
||||||
|
|
||||||
func (p *parser) parseDefault() (interface{}, error) {
|
func (p *parser) parseDefault() (interface{}, error) {
|
||||||
|
|
||||||
tok, lit, err := p.shouldBe(NULL, NOW, DATE, TIME, TRUE, FALSE, NUMBER, DOUBLE, STRING, REGION, IDENT, ARRAY, JSON)
|
tok, lit, err := p.shouldBe(NULL, NOW, DATE, TIME, TRUE, FALSE, NUMBER, DOUBLE, STRING, REGION, IDENT, THING, ARRAY, JSON)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue