up gorm logger & add share to guest by web client

This commit is contained in:
ljw committed 2024-10-09 15:53:08 +08:00
1 parent 2ab61512cf
commit 8b266d4fee
23 files changed
+451 -1031

No files matched your search

+2 -1
View File
@@ -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)