diff options
Diffstat (limited to 'cmd/migrate_storage.go')
-rw-r--r-- | cmd/migrate_storage.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/migrate_storage.go b/cmd/migrate_storage.go index f9770d50e7..93fb64a4d3 100644 --- a/cmd/migrate_storage.go +++ b/cmd/migrate_storage.go @@ -9,8 +9,8 @@ import ( "fmt" "strings" - "code.gitea.io/gitea/models" "code.gitea.io/gitea/models/db" + git_model "code.gitea.io/gitea/models/git" "code.gitea.io/gitea/models/migrations" repo_model "code.gitea.io/gitea/models/repo" user_model "code.gitea.io/gitea/models/user" @@ -88,7 +88,7 @@ func migrateAttachments(dstStorage storage.ObjectStorage) error { } func migrateLFS(dstStorage storage.ObjectStorage) error { - return models.IterateLFS(func(mo *models.LFSMetaObject) error { + return git_model.IterateLFS(func(mo *git_model.LFSMetaObject) error { _, err := storage.Copy(dstStorage, mo.RelativePath(), storage.LFS, mo.RelativePath()) return err }) |