diff --git a/pkg/migration/20220815200851.go b/pkg/migration/20220815200851.go index 44aeff31..cd40c6d9 100644 --- a/pkg/migration/20220815200851.go +++ b/pkg/migration/20220815200851.go @@ -89,7 +89,9 @@ func init() { f["filters"] = string(filtersJSON) - _, err = tx.Where("id", f["id"]). + _, err = tx.Where("id = ?", f["id"]). + Cols("filters"). + NoAutoCondition(). Table("saved_filters"). Update(f) if err != nil {