feat(db): fixed upgrade delta queries
This commit is contained in:
parent
004d178115
commit
1a6c85a5f4
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue