feat(db): fixed upgrade delta queries

This commit is contained in:
Taha Yassine Kraiem 2022-03-24 15:22:38 +01:00
parent 004d178115
commit 1a6c85a5f4
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ $$
LIMIT 1)
ORDER BY LOWER(email)) THEN
raise notice 'duplicate users detected';
FOR duplicate IN SELECT user_id, email, deleted_at, verified_email, jwt_iat
FOR duplicate IN SELECT user_id, email, deleted_at, jwt_iat
FROM users
WHERE lower(email) =
(SELECT LOWER(email)

View file

@ -22,7 +22,7 @@ $$
LIMIT 1)
ORDER BY LOWER(email)) THEN
raise notice 'duplicate users detected';
FOR duplicate IN SELECT user_id, email, deleted_at, verified_email, jwt_iat
FOR duplicate IN SELECT user_id, email, deleted_at, jwt_iat
FROM users
WHERE lower(email) =
(SELECT LOWER(email)