pull/141/head
Gordon 3 years ago
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…
Cancel
Save