add oauth loginlog & fix bugs
This commit is contained in:
1 parent
ebd1feb8d1
commit
a4b413dadb
48 files changed
+3477
-184
No files matched your search
+4
-1
@@ -157,7 +157,7 @@ func ApiInitValidator() {
|
||||
}
|
||||
|
||||
func DatabaseAutoUpdate() {
|
||||
version := 100
|
||||
version := 103
|
||||
|
||||
db := global.DB
|
||||
|
||||
@@ -215,6 +215,9 @@ func Migrate(version uint) {
|
||||
&model.AddressBook{},
|
||||
&model.Peer{},
|
||||
&model.Group{},
|
||||
&model.UserThird{},
|
||||
&model.Oauth{},
|
||||
&model.LoginLog{},
|
||||
)
|
||||
if err != nil {
|
||||
fmt.Println("migrate err :=>", err)
|
||||
|
||||
Reference in new issue
Block a user