up gorm logger & add share to guest by web client
This commit is contained in:
1 parent
2ab61512cf
commit
8b266d4fee
23 files changed
+451
-1031
No files matched your search
+2
-1
@@ -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