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

View File

@@ -391,7 +391,7 @@ func (form *CollectionUpsert) checkIndexes(value any) error {
if form.Type == models.CollectionTypeView && len(v) > 0 {
return validation.NewError(
"validation_indexes_not_supported",
fmt.Sprintf("The collection doesn't support indexes."),
"The collection doesn't support indexes.",
)
}
@@ -402,7 +402,7 @@ func (form *CollectionUpsert) checkIndexes(value any) error {
return validation.Errors{
strconv.Itoa(i): validation.NewError(
"validation_invalid_index_expression",
fmt.Sprintf("Invalid CREATE INDEX expression."),
"Invalid CREATE INDEX expression.",
),
}
}