diff --git a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go index 0c8ba78a5..735988b1c 100644 --- a/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go +++ b/internal/db/bundb/migrations/20250106165529_cleanup_dropped_edits.go @@ -45,9 +45,7 @@ func init() { ). Where("? NOT LIKE concat(?, ?, ?)", bun.Ident("status.edits"), - bun.Ident("%"), - bun.Ident("status_edit.id"), - bun.Ident("%"), + "%", bun.Ident("status_edit.id"), "%", ). Scan(ctx, &edits); err != nil { return err