mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 16:20:14 +01:00
all: unwrap database.LFSStore interface (#7692)
This commit is contained in:
@@ -124,7 +124,6 @@ func NewConnection(w logger.Writer) (*gorm.DB, error) {
|
||||
|
||||
// Initialize stores, sorted in alphabetical order.
|
||||
LoginSources = &loginSourcesStore{DB: db, files: sourceFiles}
|
||||
LFS = &lfsStore{DB: db}
|
||||
Notices = NewNoticesStore(db)
|
||||
Orgs = NewOrgsStore(db)
|
||||
Perms = NewPermsStore(db)
|
||||
@@ -163,3 +162,7 @@ func (db *DB) AccessTokens() *AccessTokensStore {
|
||||
func (db *DB) Actions() *ActionsStore {
|
||||
return newActionsStore(db.db)
|
||||
}
|
||||
|
||||
func (db *DB) LFS() *LFSStore {
|
||||
return newLFSStore(db.db)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user