Skip to content

Commit

Permalink
Add get DB method to store (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-fischer authored Sep 25, 2024
1 parent b51d752 commit 1e4a0f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions management/server/sql_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1024,3 +1024,7 @@ func (s *SqlStore) withTx(tx *gorm.DB) Store {
db: tx,
}
}

func (s *SqlStore) GetDB() *gorm.DB {
return s.db
}

0 comments on commit 1e4a0f7

Please sign in to comment.