mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-03 18:43:15 +00:00
up gorm logger & add share to guest by web client
This commit is contained in:
@@ -200,7 +200,7 @@ func getTranslatorForLang(lang string) ut.Translator {
|
||||
}
|
||||
}
|
||||
func DatabaseAutoUpdate() {
|
||||
version := 212
|
||||
version := 220
|
||||
|
||||
db := global.DB
|
||||
|
||||
@@ -261,6 +261,7 @@ func Migrate(version uint) {
|
||||
&model.UserThird{},
|
||||
&model.Oauth{},
|
||||
&model.LoginLog{},
|
||||
&model.ShareRecord{},
|
||||
)
|
||||
if err != nil {
|
||||
fmt.Println("migrate err :=>", err)
|
||||
|
||||
Reference in New Issue
Block a user