diff options
author | Park Daesun <yume@yumes.net> | 2016-05-03 03:08:48 +0900 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-05-02 11:08:48 -0700 |
commit | e3f254c3be26aa05730afc46f5584bb595eea232 (patch) | |
tree | 49c929fb00a304c1b2ef346b370ca060f9765523 /webapp/stores/search_store.jsx | |
parent | ddc888d264dee67504d2242f1cf705fb62ed3b22 (diff) | |
download | chat-e3f254c3be26aa05730afc46f5584bb595eea232.tar.gz chat-e3f254c3be26aa05730afc46f5584bb595eea232.tar.bz2 chat-e3f254c3be26aa05730afc46f5584bb595eea232.zip |
Fix the EmailVerified column value from '1' to true (#2843)
EmailVerified column type is bool.
but these queries were a string type and a number type.
this is ok in Mysql but cause errors in Postgresql.
like this(user_test.go:970).
```
[2016/05/02 23:20:47 KST] [EROR] /api/v3/users/reset_password:SqlUserStore.UpdatePassword code=500 rid=ezj4agkewibjzni3ptybq5knbh uid=9z53qbkxj7nq9m8r8jbb47enzr ip=::1 We couldn't update the user password [details: id=8bymugax77yhfff9zj4frthapc, pq: column "emailverified" is of type boolean but expression is of type integer]
--- FAIL: TestResetPassword (0.90s)
user_test.go:970: : We couldn't update the user password, id=8bymugax77yhfff9zj4frthapc, pq: column "emailverified" is of type boolean but expression is of type integer
```
Diffstat (limited to 'webapp/stores/search_store.jsx')
0 files changed, 0 insertions, 0 deletions