mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 09:36:00 +08:00
friend update
This commit is contained in:
@@ -117,11 +117,11 @@ type FriendDatabaseInterface interface {
|
||||
}
|
||||
|
||||
type FriendDatabase struct {
|
||||
sqlDB *relation.Friend
|
||||
sqlDB relation.FriendDB
|
||||
}
|
||||
|
||||
func NewFriendDatabase(db *gorm.DB) *FriendDatabase {
|
||||
sqlDB := relation.NewFriendDB(db)
|
||||
sqlDB := relation.NewFriendGorm(db)
|
||||
database := &FriendDatabase{
|
||||
sqlDB: sqlDB,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user