mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-15 02:32:28 +00:00
add conn log
This commit is contained in:
@@ -200,7 +200,7 @@ func getTranslatorForLang(lang string) ut.Translator {
|
||||
}
|
||||
}
|
||||
func DatabaseAutoUpdate() {
|
||||
version := 220
|
||||
version := 233
|
||||
|
||||
db := global.DB
|
||||
|
||||
@@ -262,6 +262,7 @@ func Migrate(version uint) {
|
||||
&model.Oauth{},
|
||||
&model.LoginLog{},
|
||||
&model.ShareRecord{},
|
||||
&model.AuditConn{},
|
||||
)
|
||||
if err != nil {
|
||||
fmt.Println("migrate err :=>", err)
|
||||
|
||||
Reference in New Issue
Block a user