]> source.dussan.org Git - gitea.git/commit
Move attachment into models/repo/ (#17650)
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 19 Nov 2021 13:39:57 +0000 (21:39 +0800)
committerGitHub <noreply@github.com>
Fri, 19 Nov 2021 13:39:57 +0000 (21:39 +0800)
commitfc3d0826096943b979717ed46c9a4cfd86e06106
tree3143882ccf4dea3a8bf2a0de9c8da9a4efec26ce
parent7a0347315995b25bcb2dca4786504fb699b5f004
Move attachment into models/repo/ (#17650)

* Move attachment into models/repo/

* Fix test

* Fix bug
41 files changed:
cmd/migrate_storage.go
integrations/attachment_test.go
models/attachment.go [deleted file]
models/attachment_test.go [deleted file]
models/error.go
models/issue.go
models/issue_assignees.go
models/issue_comment.go
models/issue_comment_list.go
models/issue_dependency.go
models/issue_label.go
models/issue_list.go
models/issue_lock.go
models/issue_milestone.go
models/issue_stopwatch.go
models/issue_tracked_time.go
models/issue_xref.go
models/issue_xref_test.go
models/notification.go
models/project_issue.go
models/pull.go
models/release.go
models/repo.go
models/repo/attachment.go [new file with mode: 0644]
models/repo/attachment_test.go [new file with mode: 0644]
models/repo/main_test.go [new file with mode: 0644]
models/repo_test.go
models/review.go
models/statistic.go
modules/convert/release.go
modules/doctor/dbconsistency.go
modules/doctor/storage.go
routers/api/v1/repo/release_attachment.go
routers/web/repo/attachment.go
routers/web/repo/issue.go
routers/web/repo/repo.go
services/attachment/attachment.go
services/attachment/attachment_test.go
services/migrations/gitea_uploader.go
services/release/release.go
services/release/release_test.go