Skip to content

DB Inconsistence on attachment table #16783

@6543

Description

@6543

Gitea Version 1.14.x (latest)

found 843 entrys on a production system (DB) that contain attachments with (comment_id=0 AND issue_id=0 AND release_id=0).

  • find the case where this are produced and fix that bug - repo deletion?!?
  • add doctor command to rm these

Metadata

Metadata

Assignees

Labels

issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions