updated changelog and formatting
This commit is contained in:
@@ -349,7 +349,7 @@ func (dao *Dao) createCollectionIndexes(collection *models.Collection) error {
|
||||
if !parsed.IsValid() {
|
||||
errs[strconv.Itoa(i)] = validation.NewError(
|
||||
"validation_invalid_index_expression",
|
||||
fmt.Sprintf("Invalid CREATE INDEX expression."),
|
||||
"Invalid CREATE INDEX expression.",
|
||||
)
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -152,7 +152,6 @@ func TestSingleVsMultipleValuesNormalization(t *testing.T) {
|
||||
opt.MaxSelect = 1
|
||||
}
|
||||
{
|
||||
|
||||
fileOneField := collection.Schema.GetFieldByName("file_one")
|
||||
opt := fileOneField.Options.(*schema.FileOptions)
|
||||
opt.MaxSelect = 2
|
||||
@@ -161,7 +160,6 @@ func TestSingleVsMultipleValuesNormalization(t *testing.T) {
|
||||
fileManyField := collection.Schema.GetFieldByName("file_many")
|
||||
opt := fileManyField.Options.(*schema.FileOptions)
|
||||
opt.MaxSelect = 1
|
||||
|
||||
}
|
||||
{
|
||||
relOneField := collection.Schema.GetFieldByName("rel_one")
|
||||
|
||||
@@ -180,5 +180,4 @@ func TestTableIndexes(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user