Merge branch 'master' into delete

This commit is contained in:
tgruben 2021-04-09 12:51:03 -05:00 committed by GitHub
commit f6632bcaca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1438,8 +1438,6 @@ func (o *fieldOptions) validate() error {
return pilosa.NewBadRequestError(errors.New("cacheSize does not apply to field type int"))
} else if o.TimeQuantum != nil {
return pilosa.NewBadRequestError(errors.New("timeQuantum does not apply to field type int"))
} else if o.ForeignIndex != nil {
return pilosa.NewBadRequestError(errors.New("int field cannot be a foreign key"))
}
case pilosa.FieldTypeDecimal:
if o.Scale == nil {