pull/455/head
wangchuxiao 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 57d2be140a
commit 2661f71671

@ -53,7 +53,9 @@ func initMysqlDB() {
} }
fmt.Println("open db ok ", dsn) fmt.Println("open db ok ", dsn)
db.AutoMigrate(&Friend{}, db.AutoMigrate(
&Register{},
&Friend{},
&FriendRequest{}, &FriendRequest{},
&Group{}, &Group{},
&GroupMember{}, &GroupMember{},

Loading…
Cancel
Save