{"action":"created","comment":{"url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments/28862075","id":28862075,"diff_hunk":"@@ -0,0 +1,5 @@\n+class ChangeColumnDefaultsForUsers < ActiveRecord::Migration\n+  def change\n+    change_column_default :users, :locale, \"en\"\n+  end\n+end","path":"db/migrate/20150421111925_change_column_defaults_for_users.rb","position":5,"original_position":5,"commit_id":"7c9d552f286b47d1ff62f5001b96bb92a20ccf5e","original_commit_id":"8529d403c1a3e0f1815f564298f11297876c9ba7","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"body":"А что здесь не так? \r\n```\r\nclass AddColumnToUsers < ActiveRecord::Migration\r\n  def change\r\n    add_column :users, :locale, :string, default: \"en\" \r\n  end\r\nend\r\n```\r\nЯ не вижу здесь ошибок.","created_at":"2015-04-22T10:57:56Z","updated_at":"2015-04-22T10:57:56Z","html_url":"https://github.com/mrvovanness/flashcard/pull/16#discussion_r28862075","pull_request_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments/28862075"},"html":{"href":"https://github.com/mrvovanness/flashcard/pull/16#discussion_r28862075"},"pull_request":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16","id":33760676,"html_url":"https://github.com/mrvovanness/flashcard/pull/16","diff_url":"https://github.com/mrvovanness/flashcard/pull/16.diff","patch_url":"https://github.com/mrvovanness/flashcard/pull/16.patch","issue_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/16","number":16,"state":"open","locked":false,"title":"Internalization","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-21T13:27:24Z","updated_at":"2015-04-22T10:57:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"235073a5cd84332dc8170553624458f96f476675","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16/commits","review_comments_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16/comments","review_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/16/comments","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/7c9d552f286b47d1ff62f5001b96bb92a20ccf5e","head":{"label":"mrvovanness:sixteenth-task","ref":"sixteenth-task","sha":"7c9d552f286b47d1ff62f5001b96bb92a20ccf5e","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"repo":{"id":31216808,"name":"flashcard","full_name":"mrvovanness/flashcard","owner":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrvovanness/flashcard","description":"","fork":false,"url":"https://api.github.com/repos/mrvovanness/flashcard","forks_url":"https://api.github.com/repos/mrvovanness/flashcard/forks","keys_url":"https://api.github.com/repos/mrvovanness/flashcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrvovanness/flashcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrvovanness/flashcard/teams","hooks_url":"https://api.github.com/repos/mrvovanness/flashcard/hooks","issue_events_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/events{/number}","events_url":"https://api.github.com/repos/mrvovanness/flashcard/events","assignees_url":"https://api.github.com/repos/mrvovanness/flashcard/assignees{/user}","branches_url":"https://api.github.com/repos/mrvovanness/flashcard/branches{/branch}","tags_url":"https://api.github.com/repos/mrvovanness/flashcard/tags","blobs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrvovanness/flashcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrvovanness/flashcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/{sha}","languages_url":"https://api.github.com/repos/mrvovanness/flashcard/languages","stargazers_url":"https://api.github.com/repos/mrvovanness/flashcard/stargazers","contributors_url":"https://api.github.com/repos/mrvovanness/flashcard/contributors","subscribers_url":"https://api.github.com/repos/mrvovanness/flashcard/subscribers","subscription_url":"https://api.github.com/repos/mrvovanness/flashcard/subscription","commits_url":"https://api.github.com/repos/mrvovanness/flashcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrvovanness/flashcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrvovanness/flashcard/contents/{+path}","compare_url":"https://api.github.com/repos/mrvovanness/flashcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrvovanness/flashcard/merges","archive_url":"https://api.github.com/repos/mrvovanness/flashcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrvovanness/flashcard/downloads","issues_url":"https://api.github.com/repos/mrvovanness/flashcard/issues{/number}","pulls_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls{/number}","milestones_url":"https://api.github.com/repos/mrvovanness/flashcard/milestones{/number}","notifications_url":"https://api.github.com/repos/mrvovanness/flashcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrvovanness/flashcard/labels{/name}","releases_url":"https://api.github.com/repos/mrvovanness/flashcard/releases{/id}","created_at":"2015-02-23T16:24:41Z","updated_at":"2015-04-06T07:23:43Z","pushed_at":"2015-04-22T08:27:29Z","git_url":"git://github.com/mrvovanness/flashcard.git","ssh_url":"git@github.com:mrvovanness/flashcard.git","clone_url":"https://github.com/mrvovanness/flashcard.git","svn_url":"https://github.com/mrvovanness/flashcard","homepage":null,"size":720,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mrvovanness:master","ref":"master","sha":"559a07181e229895ac832ce0eab5077203cf9f7d","user":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"repo":{"id":31216808,"name":"flashcard","full_name":"mrvovanness/flashcard","owner":{"login":"mrvovanness","id":10726270,"avatar_url":"https://avatars.githubusercontent.com/u/10726270?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvovanness","html_url":"https://github.com/mrvovanness","followers_url":"https://api.github.com/users/mrvovanness/followers","following_url":"https://api.github.com/users/mrvovanness/following{/other_user}","gists_url":"https://api.github.com/users/mrvovanness/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvovanness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvovanness/subscriptions","organizations_url":"https://api.github.com/users/mrvovanness/orgs","repos_url":"https://api.github.com/users/mrvovanness/repos","events_url":"https://api.github.com/users/mrvovanness/events{/privacy}","received_events_url":"https://api.github.com/users/mrvovanness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrvovanness/flashcard","description":"","fork":false,"url":"https://api.github.com/repos/mrvovanness/flashcard","forks_url":"https://api.github.com/repos/mrvovanness/flashcard/forks","keys_url":"https://api.github.com/repos/mrvovanness/flashcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrvovanness/flashcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrvovanness/flashcard/teams","hooks_url":"https://api.github.com/repos/mrvovanness/flashcard/hooks","issue_events_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/events{/number}","events_url":"https://api.github.com/repos/mrvovanness/flashcard/events","assignees_url":"https://api.github.com/repos/mrvovanness/flashcard/assignees{/user}","branches_url":"https://api.github.com/repos/mrvovanness/flashcard/branches{/branch}","tags_url":"https://api.github.com/repos/mrvovanness/flashcard/tags","blobs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrvovanness/flashcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrvovanness/flashcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrvovanness/flashcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrvovanness/flashcard/statuses/{sha}","languages_url":"https://api.github.com/repos/mrvovanness/flashcard/languages","stargazers_url":"https://api.github.com/repos/mrvovanness/flashcard/stargazers","contributors_url":"https://api.github.com/repos/mrvovanness/flashcard/contributors","subscribers_url":"https://api.github.com/repos/mrvovanness/flashcard/subscribers","subscription_url":"https://api.github.com/repos/mrvovanness/flashcard/subscription","commits_url":"https://api.github.com/repos/mrvovanness/flashcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrvovanness/flashcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrvovanness/flashcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrvovanness/flashcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrvovanness/flashcard/contents/{+path}","compare_url":"https://api.github.com/repos/mrvovanness/flashcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrvovanness/flashcard/merges","archive_url":"https://api.github.com/repos/mrvovanness/flashcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrvovanness/flashcard/downloads","issues_url":"https://api.github.com/repos/mrvovanness/flashcard/issues{/number}","pulls_url":"https://api.github.com/repos/mrvovanness/flashcard/pulls{/number}","milestones_url":"https://api.github.com/repos/mrvovanness/flashcard/milestones{/number}","notifications_url":"https://api.github.com/repos/mrvovanness/flashcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrvovanness/flashcard/labels{/name}","releases_url":"https://api.github.com/repos/mrvovanness/flashcard/releases{/id}","created_at":"2015-02-23T16:24:41Z","updated_at":"2015-04-06T07:23:43Z","pushed_at":"2015-04-22T08:27:29Z","git_url":"git://github.com/mrvovanness/flashcard.git","ssh_url":"git@github.com:mrvovanness/flashcard.git","clone_url":"https://github.com/mrvovanness/flashcard.git","svn_url":"https://github.com/mrvovanness/flashcard","homepage":null,"size":720,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16"},"html":{"href":"https://github.com/mrvovanness/flashcard/pull/16"},"issue":{"href":"https://api.github.com/repos/mrvovanness/flashcard/issues/16"},"comments":{"href":"https://api.github.com/repos/mrvovanness/flashcard/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrvovanness/flashcard/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/mrvovanness/flashcard/statuses/7c9d552f286b47d1ff62f5001b96bb92a20ccf5e"}}}}