pull/236/head
wangchuxiao 2 years ago
parent 793996e047
commit ceca0f095b

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

Loading…
Cancel
Save