fix migrate

This commit is contained in:
ljw
2024-11-05 21:07:31 +08:00
parent 793614841a
commit 7101139250

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