{"action":"created","comment":{"url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/comments/27308371","id":27308371,"diff_hunk":"@@ -1,11 +1,13 @@\n class CreateSubmissions < ActiveRecord::Migration\n   def change\n     create_table :submissions do |t|\n-      t.timestamps null: false\n       t.references :user, null: false\n       t.string :step, null: false\n       t.json :content, null: false, default: {}\n-      t.boolean :finalized, null: false, default: false\n+      t.boolean :finalized, null: false, default: false, index: true","path":"db/migrate/20150221153705_create_submissions.rb","position":9,"original_position":9,"commit_id":"9466af29f195c948a9c3919bdce2c4db40bea708","original_commit_id":"5e905f130c7356a0da38add78e839ed2d74917e9","user":{"login":"kammerer","id":14025,"avatar_url":"https://avatars.githubusercontent.com/u/14025?v=3","gravatar_id":"","url":"https://api.github.com/users/kammerer","html_url":"https://github.com/kammerer","followers_url":"https://api.github.com/users/kammerer/followers","following_url":"https://api.github.com/users/kammerer/following{/other_user}","gists_url":"https://api.github.com/users/kammerer/gists{/gist_id}","starred_url":"https://api.github.com/users/kammerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammerer/subscriptions","organizations_url":"https://api.github.com/users/kammerer/orgs","repos_url":"https://api.github.com/users/kammerer/repos","events_url":"https://api.github.com/users/kammerer/events{/privacy}","received_events_url":"https://api.github.com/users/kammerer/received_events","type":"User","site_admin":false},"body":"I do not see any problem with growing number of migrations (I see problem with old migrations which fail but that is quite different thing). However changing existing migration forces other devs to partially recreate their development db... Just my thoughts, I am not saying you should do anything in this case.","created_at":"2015-03-27T16:23:27Z","updated_at":"2015-03-27T16:23:27Z","html_url":"https://github.com/eSpectrum-IT/brassica/pull/78#discussion_r27308371","pull_request_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/comments/27308371"},"html":{"href":"https://github.com/eSpectrum-IT/brassica/pull/78#discussion_r27308371"},"pull_request":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78","id":32107430,"html_url":"https://github.com/eSpectrum-IT/brassica/pull/78","diff_url":"https://github.com/eSpectrum-IT/brassica/pull/78.diff","patch_url":"https://github.com/eSpectrum-IT/brassica/pull/78.patch","issue_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/78","number":78,"state":"closed","locked":false,"title":"Submission type support","user":{"login":"Nuanda","id":107565,"avatar_url":"https://avatars.githubusercontent.com/u/107565?v=3","gravatar_id":"","url":"https://api.github.com/users/Nuanda","html_url":"https://github.com/Nuanda","followers_url":"https://api.github.com/users/Nuanda/followers","following_url":"https://api.github.com/users/Nuanda/following{/other_user}","gists_url":"https://api.github.com/users/Nuanda/gists{/gist_id}","starred_url":"https://api.github.com/users/Nuanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nuanda/subscriptions","organizations_url":"https://api.github.com/users/Nuanda/orgs","repos_url":"https://api.github.com/users/Nuanda/repos","events_url":"https://api.github.com/users/Nuanda/events{/privacy}","received_events_url":"https://api.github.com/users/Nuanda/received_events","type":"User","site_admin":false},"body":"We need it to differentiate various types of submissions (currently planning to support four).","created_at":"2015-03-27T13:33:33Z","updated_at":"2015-03-27T16:23:27Z","closed_at":"2015-03-27T16:16:12Z","merged_at":"2015-03-27T16:16:12Z","merge_commit_sha":"fb8315bfba8bfdb1e12e4dd01c31792024e52e68","assignee":{"login":"kammerer","id":14025,"avatar_url":"https://avatars.githubusercontent.com/u/14025?v=3","gravatar_id":"","url":"https://api.github.com/users/kammerer","html_url":"https://github.com/kammerer","followers_url":"https://api.github.com/users/kammerer/followers","following_url":"https://api.github.com/users/kammerer/following{/other_user}","gists_url":"https://api.github.com/users/kammerer/gists{/gist_id}","starred_url":"https://api.github.com/users/kammerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kammerer/subscriptions","organizations_url":"https://api.github.com/users/kammerer/orgs","repos_url":"https://api.github.com/users/kammerer/repos","events_url":"https://api.github.com/users/kammerer/events{/privacy}","received_events_url":"https://api.github.com/users/kammerer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78/commits","review_comments_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78/comments","review_comment_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/78/comments","statuses_url":"https://api.github.com/repos/eSpectrum-IT/brassica/statuses/9466af29f195c948a9c3919bdce2c4db40bea708","head":{"label":"eSpectrum-IT:submission_type_support","ref":"submission_type_support","sha":"9466af29f195c948a9c3919bdce2c4db40bea708","user":{"login":"eSpectrum-IT","id":10870540,"avatar_url":"https://avatars.githubusercontent.com/u/10870540?v=3","gravatar_id":"","url":"https://api.github.com/users/eSpectrum-IT","html_url":"https://github.com/eSpectrum-IT","followers_url":"https://api.github.com/users/eSpectrum-IT/followers","following_url":"https://api.github.com/users/eSpectrum-IT/following{/other_user}","gists_url":"https://api.github.com/users/eSpectrum-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/eSpectrum-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eSpectrum-IT/subscriptions","organizations_url":"https://api.github.com/users/eSpectrum-IT/orgs","repos_url":"https://api.github.com/users/eSpectrum-IT/repos","events_url":"https://api.github.com/users/eSpectrum-IT/events{/privacy}","received_events_url":"https://api.github.com/users/eSpectrum-IT/received_events","type":"Organization","site_admin":false},"repo":{"id":30371889,"name":"brassica","full_name":"eSpectrum-IT/brassica","owner":{"login":"eSpectrum-IT","id":10870540,"avatar_url":"https://avatars.githubusercontent.com/u/10870540?v=3","gravatar_id":"","url":"https://api.github.com/users/eSpectrum-IT","html_url":"https://github.com/eSpectrum-IT","followers_url":"https://api.github.com/users/eSpectrum-IT/followers","following_url":"https://api.github.com/users/eSpectrum-IT/following{/other_user}","gists_url":"https://api.github.com/users/eSpectrum-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/eSpectrum-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eSpectrum-IT/subscriptions","organizations_url":"https://api.github.com/users/eSpectrum-IT/orgs","repos_url":"https://api.github.com/users/eSpectrum-IT/repos","events_url":"https://api.github.com/users/eSpectrum-IT/events{/privacy}","received_events_url":"https://api.github.com/users/eSpectrum-IT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eSpectrum-IT/brassica","description":"Brassica Information Portal","fork":false,"url":"https://api.github.com/repos/eSpectrum-IT/brassica","forks_url":"https://api.github.com/repos/eSpectrum-IT/brassica/forks","keys_url":"https://api.github.com/repos/eSpectrum-IT/brassica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eSpectrum-IT/brassica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eSpectrum-IT/brassica/teams","hooks_url":"https://api.github.com/repos/eSpectrum-IT/brassica/hooks","issue_events_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/events{/number}","events_url":"https://api.github.com/repos/eSpectrum-IT/brassica/events","assignees_url":"https://api.github.com/repos/eSpectrum-IT/brassica/assignees{/user}","branches_url":"https://api.github.com/repos/eSpectrum-IT/brassica/branches{/branch}","tags_url":"https://api.github.com/repos/eSpectrum-IT/brassica/tags","blobs_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/refs{/sha}","trees_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eSpectrum-IT/brassica/statuses/{sha}","languages_url":"https://api.github.com/repos/eSpectrum-IT/brassica/languages","stargazers_url":"https://api.github.com/repos/eSpectrum-IT/brassica/stargazers","contributors_url":"https://api.github.com/repos/eSpectrum-IT/brassica/contributors","subscribers_url":"https://api.github.com/repos/eSpectrum-IT/brassica/subscribers","subscription_url":"https://api.github.com/repos/eSpectrum-IT/brassica/subscription","commits_url":"https://api.github.com/repos/eSpectrum-IT/brassica/commits{/sha}","git_commits_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/commits{/sha}","comments_url":"https://api.github.com/repos/eSpectrum-IT/brassica/comments{/number}","issue_comment_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/comments{/number}","contents_url":"https://api.github.com/repos/eSpectrum-IT/brassica/contents/{+path}","compare_url":"https://api.github.com/repos/eSpectrum-IT/brassica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eSpectrum-IT/brassica/merges","archive_url":"https://api.github.com/repos/eSpectrum-IT/brassica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eSpectrum-IT/brassica/downloads","issues_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues{/number}","pulls_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls{/number}","milestones_url":"https://api.github.com/repos/eSpectrum-IT/brassica/milestones{/number}","notifications_url":"https://api.github.com/repos/eSpectrum-IT/brassica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eSpectrum-IT/brassica/labels{/name}","releases_url":"https://api.github.com/repos/eSpectrum-IT/brassica/releases{/id}","created_at":"2015-02-05T18:45:10Z","updated_at":"2015-03-27T16:16:13Z","pushed_at":"2015-03-27T16:16:15Z","git_url":"git://github.com/eSpectrum-IT/brassica.git","ssh_url":"git@github.com:eSpectrum-IT/brassica.git","clone_url":"https://github.com/eSpectrum-IT/brassica.git","svn_url":"https://github.com/eSpectrum-IT/brassica","homepage":null,"size":3616,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":2,"default_branch":"master"}},"base":{"label":"eSpectrum-IT:master","ref":"master","sha":"c1a3c17c0c47e89e1d3d54a3547bfad16e3d26c9","user":{"login":"eSpectrum-IT","id":10870540,"avatar_url":"https://avatars.githubusercontent.com/u/10870540?v=3","gravatar_id":"","url":"https://api.github.com/users/eSpectrum-IT","html_url":"https://github.com/eSpectrum-IT","followers_url":"https://api.github.com/users/eSpectrum-IT/followers","following_url":"https://api.github.com/users/eSpectrum-IT/following{/other_user}","gists_url":"https://api.github.com/users/eSpectrum-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/eSpectrum-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eSpectrum-IT/subscriptions","organizations_url":"https://api.github.com/users/eSpectrum-IT/orgs","repos_url":"https://api.github.com/users/eSpectrum-IT/repos","events_url":"https://api.github.com/users/eSpectrum-IT/events{/privacy}","received_events_url":"https://api.github.com/users/eSpectrum-IT/received_events","type":"Organization","site_admin":false},"repo":{"id":30371889,"name":"brassica","full_name":"eSpectrum-IT/brassica","owner":{"login":"eSpectrum-IT","id":10870540,"avatar_url":"https://avatars.githubusercontent.com/u/10870540?v=3","gravatar_id":"","url":"https://api.github.com/users/eSpectrum-IT","html_url":"https://github.com/eSpectrum-IT","followers_url":"https://api.github.com/users/eSpectrum-IT/followers","following_url":"https://api.github.com/users/eSpectrum-IT/following{/other_user}","gists_url":"https://api.github.com/users/eSpectrum-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/eSpectrum-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eSpectrum-IT/subscriptions","organizations_url":"https://api.github.com/users/eSpectrum-IT/orgs","repos_url":"https://api.github.com/users/eSpectrum-IT/repos","events_url":"https://api.github.com/users/eSpectrum-IT/events{/privacy}","received_events_url":"https://api.github.com/users/eSpectrum-IT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eSpectrum-IT/brassica","description":"Brassica Information Portal","fork":false,"url":"https://api.github.com/repos/eSpectrum-IT/brassica","forks_url":"https://api.github.com/repos/eSpectrum-IT/brassica/forks","keys_url":"https://api.github.com/repos/eSpectrum-IT/brassica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eSpectrum-IT/brassica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eSpectrum-IT/brassica/teams","hooks_url":"https://api.github.com/repos/eSpectrum-IT/brassica/hooks","issue_events_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/events{/number}","events_url":"https://api.github.com/repos/eSpectrum-IT/brassica/events","assignees_url":"https://api.github.com/repos/eSpectrum-IT/brassica/assignees{/user}","branches_url":"https://api.github.com/repos/eSpectrum-IT/brassica/branches{/branch}","tags_url":"https://api.github.com/repos/eSpectrum-IT/brassica/tags","blobs_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/refs{/sha}","trees_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eSpectrum-IT/brassica/statuses/{sha}","languages_url":"https://api.github.com/repos/eSpectrum-IT/brassica/languages","stargazers_url":"https://api.github.com/repos/eSpectrum-IT/brassica/stargazers","contributors_url":"https://api.github.com/repos/eSpectrum-IT/brassica/contributors","subscribers_url":"https://api.github.com/repos/eSpectrum-IT/brassica/subscribers","subscription_url":"https://api.github.com/repos/eSpectrum-IT/brassica/subscription","commits_url":"https://api.github.com/repos/eSpectrum-IT/brassica/commits{/sha}","git_commits_url":"https://api.github.com/repos/eSpectrum-IT/brassica/git/commits{/sha}","comments_url":"https://api.github.com/repos/eSpectrum-IT/brassica/comments{/number}","issue_comment_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/comments{/number}","contents_url":"https://api.github.com/repos/eSpectrum-IT/brassica/contents/{+path}","compare_url":"https://api.github.com/repos/eSpectrum-IT/brassica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eSpectrum-IT/brassica/merges","archive_url":"https://api.github.com/repos/eSpectrum-IT/brassica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eSpectrum-IT/brassica/downloads","issues_url":"https://api.github.com/repos/eSpectrum-IT/brassica/issues{/number}","pulls_url":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls{/number}","milestones_url":"https://api.github.com/repos/eSpectrum-IT/brassica/milestones{/number}","notifications_url":"https://api.github.com/repos/eSpectrum-IT/brassica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eSpectrum-IT/brassica/labels{/name}","releases_url":"https://api.github.com/repos/eSpectrum-IT/brassica/releases{/id}","created_at":"2015-02-05T18:45:10Z","updated_at":"2015-03-27T16:16:13Z","pushed_at":"2015-03-27T16:16:15Z","git_url":"git://github.com/eSpectrum-IT/brassica.git","ssh_url":"git@github.com:eSpectrum-IT/brassica.git","clone_url":"https://github.com/eSpectrum-IT/brassica.git","svn_url":"https://github.com/eSpectrum-IT/brassica","homepage":null,"size":3616,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":24,"forks":0,"open_issues":24,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78"},"html":{"href":"https://github.com/eSpectrum-IT/brassica/pull/78"},"issue":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/78"},"comments":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/eSpectrum-IT/brassica/statuses/9466af29f195c948a9c3919bdce2c4db40bea708"}}}}