Fix token migration for postgres
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
kolaente 2021-07-13 22:50:05 +02:00
parent 80b6e9dd0f
commit 1195c9b243
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -56,7 +56,7 @@ func init() {
}
users := []*user20210711173657{}
err = tx.Where(`password_reset_token != "" OR email_confirm_token != ""`).Find(&users)
err = tx.Where(`password_reset_token != '' OR email_confirm_token != ''`).Find(&users)
if err != nil {
return err
}