updated changelog and formatting

This commit is contained in:
Gani Georgiev
2023-03-28 07:59:37 +03:00
parent 4c903684d8
commit 3ea02c945d
40 changed files with 62 additions and 64 deletions
+1 -1
View File
@@ -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
}
-2
View File
@@ -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")
-1
View File
@@ -180,5 +180,4 @@ func TestTableIndexes(t *testing.T) {
}
}
}
}