mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
db
This commit is contained in:
parent
f574017b66
commit
b7a8f6c2a1
@ -95,7 +95,10 @@ func initMysqlDB() {
|
||||
log.NewInfo("CreateTable Black")
|
||||
db.CreateTable(&Black{})
|
||||
}
|
||||
|
||||
if !db.HasTable(&ChatLog{}) {
|
||||
log.NewInfo("CreateTable Black")
|
||||
db.CreateTable(&ChatLog{})
|
||||
}
|
||||
return
|
||||
|
||||
sqlTable := "CREATE TABLE IF NOT EXISTS `user` (" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user