{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/22589","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/22589/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/22589/comments","events_url":"https://api.github.com/repos/rails/rails/issues/22589/events","html_url":"https://github.com/rails/rails/pull/22589","id":122131157,"number":22589,"title":"Add Generated Columns support for MySQL 5.7","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":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-12-14T21:05:22Z","updated_at":"2016-04-19T00:27:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22589","html_url":"https://github.com/rails/rails/pull/22589","diff_url":"https://github.com/rails/rails/pull/22589.diff","patch_url":"https://github.com/rails/rails/pull/22589.patch"},"body":"Generated Columns is a new feature available in MySQL 5.7.5 and up.\r\nSee https://dev.mysql.com/doc/refman/5.7/en/create-table.html.\r\n\r\nExample:\r\n\r\n```ruby\r\ncreate_table :generated_columns do |t|\r\n  t.string  :name\r\n  t.virtual :upper_name,  type: :string,  as: 'UPPER(name)'\r\n  t.virtual :name_length, type: :integer, as: 'LENGTH(name)', virtual: :stored\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/211648962","html_url":"https://github.com/rails/rails/pull/22589#issuecomment-211648962","issue_url":"https://api.github.com/repos/rails/rails/issues/22589","id":211648962,"user":{"login":"jeremy","id":199,"avatar_url":"https://avatars.githubusercontent.com/u/199?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremy","html_url":"https://github.com/jeremy","followers_url":"https://api.github.com/users/jeremy/followers","following_url":"https://api.github.com/users/jeremy/following{/other_user}","gists_url":"https://api.github.com/users/jeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremy/subscriptions","organizations_url":"https://api.github.com/users/jeremy/orgs","repos_url":"https://api.github.com/users/jeremy/repos","events_url":"https://api.github.com/users/jeremy/events{/privacy}","received_events_url":"https://api.github.com/users/jeremy/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T00:27:35Z","updated_at":"2016-04-19T00:27:35Z","body":"@kamipo I hate to ask you so late… but could you rebase master? 😊"}}