mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-07 20:47:25 +01:00
updated changelog and formatting
This commit is contained in:
1 parent
4c903684d8
commit
3ea02c945d
40 files changed
+62
-64
No files matched your search
@@ -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.",
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user