{"action":"opened","issue":{"url":"https://api.github.com/repos/madhurjain/passport-local-sequelize/issues/26","repository_url":"https://api.github.com/repos/madhurjain/passport-local-sequelize","labels_url":"https://api.github.com/repos/madhurjain/passport-local-sequelize/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/madhurjain/passport-local-sequelize/issues/26/comments","events_url":"https://api.github.com/repos/madhurjain/passport-local-sequelize/issues/26/events","html_url":"https://github.com/madhurjain/passport-local-sequelize/issues/26","id":149916842,"number":26,"title":"Use String 1024 in Sequelize","user":{"login":"rivertam","id":4165105,"avatar_url":"https://avatars.githubusercontent.com/u/4165105?v=3","gravatar_id":"","url":"https://api.github.com/users/rivertam","html_url":"https://github.com/rivertam","followers_url":"https://api.github.com/users/rivertam/followers","following_url":"https://api.github.com/users/rivertam/following{/other_user}","gists_url":"https://api.github.com/users/rivertam/gists{/gist_id}","starred_url":"https://api.github.com/users/rivertam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rivertam/subscriptions","organizations_url":"https://api.github.com/users/rivertam/orgs","repos_url":"https://api.github.com/users/rivertam/repos","events_url":"https://api.github.com/users/rivertam/events{/privacy}","received_events_url":"https://api.github.com/users/rivertam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-20T23:50:22Z","updated_at":"2016-04-20T23:50:22Z","closed_at":null,"body":"I just spent far too long tracking down this bug. The example given in the README is slightly incorrect; by default, Sequelize will truncate Strings to 256 characters, but this library uses hashes of size 1024. Ergo, the hashes should be specified as VARCHAR(1024).\r\n\r\nThis is a problem with the README, but this repository seems to be fairly inactive, so I mostly intend this as a warning for future developers."}}