mirror of
https://github.com/gogs/gogs.git
synced 2026-01-30 02:59:15 +01:00
repo: delete rows in lfs_object table when delete repo (#6072)
This commit is contained in:
@@ -1563,6 +1563,7 @@ func DeleteRepository(ownerID, repoID int64) error {
|
||||
&ProtectBranchWhitelist{RepoID: repoID},
|
||||
&Webhook{RepoID: repoID},
|
||||
&HookTask{RepoID: repoID},
|
||||
&LFSObject{RepoID: repoID},
|
||||
); err != nil {
|
||||
return fmt.Errorf("deleteBeans: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user