fix migrate
This commit is contained in:
1 parent
943b1f8077
commit
2c1892f40c
1 file changed
+3
@@ -161,6 +161,9 @@ func DatabaseAutoUpdate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if v.Version < 246 {
|
||||||
|
db.Exec("update oauths set issuer = 'https://accounts.google.com' where op = 'google' and issuer is null")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user