forked from mirror/gorm
Merge pull request #163 from jimbao/master
Fix error when deploying to google app engine
This commit is contained in:
commit
dee9520d4e
|
@ -100,7 +100,7 @@ func (h Hstore) Value() (driver.Value, error) {
|
|||
}
|
||||
|
||||
for key, value := range h {
|
||||
hstore.Map[key] = sql.NullString{*value, true}
|
||||
hstore.Map[key] = sql.NullString{String: *value, Valid: true}
|
||||
}
|
||||
return hstore.Value()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue