fix migrate

This commit is contained in:
ljw
2024-11-05 21:07:31 +08:00
parent 943b1f8077
commit 2c1892f40c

View File

@@ -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")
}
}
}