Merge pull request #613 from mozilla/i612-fixup; r=vbudhram
fix(db): Fix case-consistency of SQL query from #612
This commit is contained in:
Коммит
0dcc2e96c1
|
@ -198,7 +198,7 @@ const QUERY_CODE_DELETE_USER = 'DELETE FROM codes WHERE userId=?';
|
|||
const QUERY_DEVELOPER = 'SELECT * FROM developers WHERE email=?';
|
||||
const QUERY_DEVELOPER_DELETE = 'DELETE developers, clientDevelopers ' +
|
||||
'FROM developers ' +
|
||||
'LEFT JOIN clientDevelopers ON developers.developerId = clientDevelopers.developerID ' +
|
||||
'LEFT JOIN clientDevelopers ON developers.developerId = clientDevelopers.developerId ' +
|
||||
'WHERE developers.email=?';
|
||||
const QUERY_PURGE_EXPIRED_TOKENS = 'DELETE FROM tokens WHERE clientId NOT IN (?) AND expiresAt < NOW() LIMIT ?;';
|
||||
const QUERY_EXPIRED_TOKENS =
|
||||
|
|
Загрузка…
Ссылка в новой задаче