mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-18 07:34:17 +01:00
Fix missing repository id when migrating release attachments
This commit is contained in:
parent
67e75f30a8
commit
275aec0c0e
@ -318,6 +318,7 @@ func (g *GiteaLocalUploader) CreateReleases(ctx context.Context, releases ...*ba
|
||||
}
|
||||
attach := repo_model.Attachment{
|
||||
UUID: uuid.New().String(),
|
||||
RepoID: g.repo.ID,
|
||||
Name: asset.Name,
|
||||
DownloadCount: int64(*asset.DownloadCount),
|
||||
Size: int64(*asset.Size),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user