{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/23547","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/23547/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/23547/comments","events_url":"https://api.github.com/repos/rails/rails/issues/23547/events","html_url":"https://github.com/rails/rails/pull/23547","id":132001450,"number":23547,"title":"`schema_type` returns symbol rather than string","user":{"login":"kamipo","id":12642,"avatar_url":"https://avatars.githubusercontent.com/u/12642?v=3","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sgrif","id":1529387,"avatar_url":"https://avatars.githubusercontent.com/u/1529387?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrif","html_url":"https://github.com/sgrif","followers_url":"https://api.github.com/users/sgrif/followers","following_url":"https://api.github.com/users/sgrif/following{/other_user}","gists_url":"https://api.github.com/users/sgrif/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrif/subscriptions","organizations_url":"https://api.github.com/users/sgrif/orgs","repos_url":"https://api.github.com/users/sgrif/repos","events_url":"https://api.github.com/users/sgrif/events{/privacy}","received_events_url":"https://api.github.com/users/sgrif/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-07T19:30:02Z","updated_at":"2016-02-07T19:30:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23547","html_url":"https://github.com/rails/rails/pull/23547","diff_url":"https://github.com/rails/rails/pull/23547.diff","patch_url":"https://github.com/rails/rails/pull/23547.patch"},"body":"A return value of `schema_type` is used by:\r\n\r\n1. primary key type: using as `symbol.inspect`\r\n2. normal column type: using as `symbol.to_s`\r\n\r\nIt is better to return symbol."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/181090452","html_url":"https://github.com/rails/rails/pull/23547#issuecomment-181090452","issue_url":"https://api.github.com/repos/rails/rails/issues/23547","id":181090452,"user":{"login":"rails-bot","id":7468109,"avatar_url":"https://avatars.githubusercontent.com/u/7468109?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-bot","html_url":"https://github.com/rails-bot","followers_url":"https://api.github.com/users/rails-bot/followers","following_url":"https://api.github.com/users/rails-bot/following{/other_user}","gists_url":"https://api.github.com/users/rails-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-bot/subscriptions","organizations_url":"https://api.github.com/users/rails-bot/orgs","repos_url":"https://api.github.com/users/rails-bot/repos","events_url":"https://api.github.com/users/rails-bot/events{/privacy}","received_events_url":"https://api.github.com/users/rails-bot/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T19:30:04Z","updated_at":"2016-02-07T19:30:04Z","body":"r? @sgrif\n\n(@rails-bot has picked a reviewer for you, use r? to override)"}}