{"action":"created","comment":{"url":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/22490171","id":22490171,"diff_hunk":"@@ -15,10 +15,11 @@ public function up()\n     {\n         Schema::create('users', function (Blueprint $table) {\n             $table->increments('id');\n-            $table->string('username', 200)->nullable(false);\n-            $table->string('password')->nullable(false);\n-            $table->rememberToken();\n-            $table->string('email')->nullable()->default(null);\n+            $table->string('username');","path":"app/database/migrations/2015_01_05_203341_CreateUsersTable.php","position":8,"original_position":8,"commit_id":"7655e30497438d06af3a6df124a62ce024fa29f6","original_commit_id":"7655e30497438d06af3a6df124a62ce024fa29f6","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"should be unique","created_at":"2015-01-05T21:17:23Z","updated_at":"2015-01-05T21:17:23Z","html_url":"https://github.com/cachethq/Cachet/pull/294#discussion_r22490171","pull_request_url":"https://api.github.com/repos/cachethq/Cachet/pulls/294","_links":{"self":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/22490171"},"html":{"href":"https://github.com/cachethq/Cachet/pull/294#discussion_r22490171"},"pull_request":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/294"}}},"pull_request":{"url":"https://api.github.com/repos/cachethq/Cachet/pulls/294","id":26849250,"html_url":"https://github.com/cachethq/Cachet/pull/294","diff_url":"https://github.com/cachethq/Cachet/pull/294.diff","patch_url":"https://github.com/cachethq/Cachet/pull/294.patch","issue_url":"https://api.github.com/repos/cachethq/Cachet/issues/294","number":294,"state":"open","locked":false,"title":"[BACKWARDS INCOMPATIBLE] Redo migrations","user":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"body":"I've rewritten all existing migrations to merge into one migration per table. I have however removed the web hook tables and models, we'll come back to that properly when we're ready to work on them.\r\n\r\n**Please note that all existing installations will be unable to migrate past this point. This is a backwards incompatible change.**\r\n\r\nWe've been experiencing issues when upgrading PgSQL databases which prevent components from being added without groups. This change will fix the migrations.","created_at":"2015-01-05T20:39:17Z","updated_at":"2015-01-05T21:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"003e05b8de1cc9c1d07469a486c4a7da41d45360","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cachethq/Cachet/pulls/294/commits","review_comments_url":"https://api.github.com/repos/cachethq/Cachet/pulls/294/comments","review_comment_url":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cachethq/Cachet/issues/294/comments","statuses_url":"https://api.github.com/repos/cachethq/Cachet/statuses/7655e30497438d06af3a6df124a62ce024fa29f6","head":{"label":"cachethq:redo-migrations","ref":"redo-migrations","sha":"7655e30497438d06af3a6df124a62ce024fa29f6","user":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"cachethq/Cachet","owner":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cachethq/Cachet","description":"An open source status page system written in PHP","fork":false,"url":"https://api.github.com/repos/cachethq/Cachet","forks_url":"https://api.github.com/repos/cachethq/Cachet/forks","keys_url":"https://api.github.com/repos/cachethq/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cachethq/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cachethq/Cachet/teams","hooks_url":"https://api.github.com/repos/cachethq/Cachet/hooks","issue_events_url":"https://api.github.com/repos/cachethq/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/cachethq/Cachet/events","assignees_url":"https://api.github.com/repos/cachethq/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/cachethq/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/cachethq/Cachet/tags","blobs_url":"https://api.github.com/repos/cachethq/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cachethq/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cachethq/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cachethq/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cachethq/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/cachethq/Cachet/languages","stargazers_url":"https://api.github.com/repos/cachethq/Cachet/stargazers","contributors_url":"https://api.github.com/repos/cachethq/Cachet/contributors","subscribers_url":"https://api.github.com/repos/cachethq/Cachet/subscribers","subscription_url":"https://api.github.com/repos/cachethq/Cachet/subscription","commits_url":"https://api.github.com/repos/cachethq/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cachethq/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cachethq/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cachethq/Cachet/issues/comments/{number}","contents_url":"https://api.github.com/repos/cachethq/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/cachethq/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cachethq/Cachet/merges","archive_url":"https://api.github.com/repos/cachethq/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cachethq/Cachet/downloads","issues_url":"https://api.github.com/repos/cachethq/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/cachethq/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/cachethq/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/cachethq/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cachethq/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/cachethq/Cachet/releases{/id}","created_at":"2014-11-16T22:23:11Z","updated_at":"2015-01-05T21:11:05Z","pushed_at":"2015-01-05T21:08:08Z","git_url":"git://github.com/cachethq/Cachet.git","ssh_url":"git@github.com:cachethq/Cachet.git","clone_url":"https://github.com/cachethq/Cachet.git","svn_url":"https://github.com/cachethq/Cachet","homepage":"https://cachethq.io/","size":8107,"stargazers_count":918,"watchers_count":918,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":36,"forks":60,"open_issues":36,"watchers":918,"default_branch":"master"}},"base":{"label":"cachethq:master","ref":"master","sha":"a4ea0ea02325585b20e8d2ff079f0e1cd7dd9827","user":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"cachethq/Cachet","owner":{"login":"cachethq","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/cachethq","html_url":"https://github.com/cachethq","followers_url":"https://api.github.com/users/cachethq/followers","following_url":"https://api.github.com/users/cachethq/following{/other_user}","gists_url":"https://api.github.com/users/cachethq/gists{/gist_id}","starred_url":"https://api.github.com/users/cachethq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachethq/subscriptions","organizations_url":"https://api.github.com/users/cachethq/orgs","repos_url":"https://api.github.com/users/cachethq/repos","events_url":"https://api.github.com/users/cachethq/events{/privacy}","received_events_url":"https://api.github.com/users/cachethq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cachethq/Cachet","description":"An open source status page system written in PHP","fork":false,"url":"https://api.github.com/repos/cachethq/Cachet","forks_url":"https://api.github.com/repos/cachethq/Cachet/forks","keys_url":"https://api.github.com/repos/cachethq/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cachethq/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cachethq/Cachet/teams","hooks_url":"https://api.github.com/repos/cachethq/Cachet/hooks","issue_events_url":"https://api.github.com/repos/cachethq/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/cachethq/Cachet/events","assignees_url":"https://api.github.com/repos/cachethq/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/cachethq/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/cachethq/Cachet/tags","blobs_url":"https://api.github.com/repos/cachethq/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cachethq/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cachethq/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/cachethq/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cachethq/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/cachethq/Cachet/languages","stargazers_url":"https://api.github.com/repos/cachethq/Cachet/stargazers","contributors_url":"https://api.github.com/repos/cachethq/Cachet/contributors","subscribers_url":"https://api.github.com/repos/cachethq/Cachet/subscribers","subscription_url":"https://api.github.com/repos/cachethq/Cachet/subscription","commits_url":"https://api.github.com/repos/cachethq/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/cachethq/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/cachethq/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/cachethq/Cachet/issues/comments/{number}","contents_url":"https://api.github.com/repos/cachethq/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/cachethq/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cachethq/Cachet/merges","archive_url":"https://api.github.com/repos/cachethq/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cachethq/Cachet/downloads","issues_url":"https://api.github.com/repos/cachethq/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/cachethq/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/cachethq/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/cachethq/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cachethq/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/cachethq/Cachet/releases{/id}","created_at":"2014-11-16T22:23:11Z","updated_at":"2015-01-05T21:11:05Z","pushed_at":"2015-01-05T21:08:08Z","git_url":"git://github.com/cachethq/Cachet.git","ssh_url":"git@github.com:cachethq/Cachet.git","clone_url":"https://github.com/cachethq/Cachet.git","svn_url":"https://github.com/cachethq/Cachet","homepage":"https://cachethq.io/","size":8107,"stargazers_count":918,"watchers_count":918,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":36,"forks":60,"open_issues":36,"watchers":918,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/294"},"html":{"href":"https://github.com/cachethq/Cachet/pull/294"},"issue":{"href":"https://api.github.com/repos/cachethq/Cachet/issues/294"},"comments":{"href":"https://api.github.com/repos/cachethq/Cachet/issues/294/comments"},"review_comments":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/294/comments"},"review_comment":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cachethq/Cachet/pulls/294/commits"},"statuses":{"href":"https://api.github.com/repos/cachethq/Cachet/statuses/7655e30497438d06af3a6df124a62ce024fa29f6"}}}}