updated dependencies and golangci-lint to v2

This commit is contained in:
Gani Georgiev committed 2025-04-12 20:05:21 +03:00
1 parent d9af1475ef
commit 4cc797071b
18 files changed
+93 -109

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ func (app *BaseApp) IsCollectionNameUnique(name string, excludeIds ...string) bo
// cascade and file delete actions.
func (app *BaseApp) TruncateCollection(collection *Collection) error {
if collection.IsView() {
return errors.New("view collections cannot be truncated since they don't store their own records.")
return errors.New("view collections cannot be truncated since they don't store their own records")
}
return app.RunInTransaction(func(txApp App) error {