{"action":"closed","number":421,"pull_request":{"url":"https://api.github.com/repos/vapor/fluent/pulls/421","id":177273272,"html_url":"https://github.com/vapor/fluent/pull/421","diff_url":"https://github.com/vapor/fluent/pull/421.diff","patch_url":"https://github.com/vapor/fluent/pull/421.patch","issue_url":"https://api.github.com/repos/vapor/fluent/issues/421","number":421,"state":"closed","locked":false,"title":"add ability to revert migrations","user":{"login":"tanner0101","id":1342803,"avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false},"body":"- [x] adds `RevertCommand`\r\n- [x] reverse migration array when reverting","created_at":"2018-03-25T05:08:52Z","updated_at":"2018-03-25T21:55:41Z","closed_at":"2018-03-25T21:55:41Z","merged_at":"2018-03-25T21:55:41Z","merge_commit_sha":"3414289a4464bc620a6460ed96a651914f62ecfc","assignee":{"login":"tanner0101","id":1342803,"avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false},"assignees":[{"login":"tanner0101","id":1342803,"avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":317684743,"url":"https://api.github.com/repos/vapor/fluent/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"milestone":{"url":"https://api.github.com/repos/vapor/fluent/milestones/57","html_url":"https://github.com/vapor/fluent/milestone/57","labels_url":"https://api.github.com/repos/vapor/fluent/milestones/57/labels","id":3214718,"number":57,"title":"3.0.0-rc.2.2","description":null,"creator":{"login":"tanner0101","id":1342803,"avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2018-03-25T05:08:19Z","updated_at":"2018-03-25T21:55:41Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/vapor/fluent/pulls/421/commits","review_comments_url":"https://api.github.com/repos/vapor/fluent/pulls/421/comments","review_comment_url":"https://api.github.com/repos/vapor/fluent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vapor/fluent/issues/421/comments","statuses_url":"https://api.github.com/repos/vapor/fluent/statuses/1314d39cc3835e0bfb849e930efe4ca081952e44","head":{"label":"vapor:migration-revert-387","ref":"migration-revert-387","sha":"1314d39cc3835e0bfb849e930efe4ca081952e44","user":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"repo":{"id":50543206,"name":"fluent","full_name":"vapor/fluent","owner":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vapor/fluent","description":"🖋 Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.","fork":false,"url":"https://api.github.com/repos/vapor/fluent","forks_url":"https://api.github.com/repos/vapor/fluent/forks","keys_url":"https://api.github.com/repos/vapor/fluent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vapor/fluent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vapor/fluent/teams","hooks_url":"https://api.github.com/repos/vapor/fluent/hooks","issue_events_url":"https://api.github.com/repos/vapor/fluent/issues/events{/number}","events_url":"https://api.github.com/repos/vapor/fluent/events","assignees_url":"https://api.github.com/repos/vapor/fluent/assignees{/user}","branches_url":"https://api.github.com/repos/vapor/fluent/branches{/branch}","tags_url":"https://api.github.com/repos/vapor/fluent/tags","blobs_url":"https://api.github.com/repos/vapor/fluent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vapor/fluent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vapor/fluent/git/refs{/sha}","trees_url":"https://api.github.com/repos/vapor/fluent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vapor/fluent/statuses/{sha}","languages_url":"https://api.github.com/repos/vapor/fluent/languages","stargazers_url":"https://api.github.com/repos/vapor/fluent/stargazers","contributors_url":"https://api.github.com/repos/vapor/fluent/contributors","subscribers_url":"https://api.github.com/repos/vapor/fluent/subscribers","subscription_url":"https://api.github.com/repos/vapor/fluent/subscription","commits_url":"https://api.github.com/repos/vapor/fluent/commits{/sha}","git_commits_url":"https://api.github.com/repos/vapor/fluent/git/commits{/sha}","comments_url":"https://api.github.com/repos/vapor/fluent/comments{/number}","issue_comment_url":"https://api.github.com/repos/vapor/fluent/issues/comments{/number}","contents_url":"https://api.github.com/repos/vapor/fluent/contents/{+path}","compare_url":"https://api.github.com/repos/vapor/fluent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vapor/fluent/merges","archive_url":"https://api.github.com/repos/vapor/fluent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vapor/fluent/downloads","issues_url":"https://api.github.com/repos/vapor/fluent/issues{/number}","pulls_url":"https://api.github.com/repos/vapor/fluent/pulls{/number}","milestones_url":"https://api.github.com/repos/vapor/fluent/milestones{/number}","notifications_url":"https://api.github.com/repos/vapor/fluent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vapor/fluent/labels{/name}","releases_url":"https://api.github.com/repos/vapor/fluent/releases{/id}","deployments_url":"https://api.github.com/repos/vapor/fluent/deployments","created_at":"2016-01-27T22:41:05Z","updated_at":"2018-03-23T20:19:23Z","pushed_at":"2018-03-25T21:55:41Z","git_url":"git://github.com/vapor/fluent.git","ssh_url":"git@github.com:vapor/fluent.git","clone_url":"https://github.com/vapor/fluent.git","svn_url":"https://github.com/vapor/fluent","homepage":"","size":3814,"stargazers_count":797,"watchers_count":797,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":102,"open_issues":51,"watchers":797,"default_branch":"master"}},"base":{"label":"vapor:master","ref":"master","sha":"0307bdaee347ccb95411b11f0630959fef83c962","user":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"repo":{"id":50543206,"name":"fluent","full_name":"vapor/fluent","owner":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vapor/fluent","description":"🖋 Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.","fork":false,"url":"https://api.github.com/repos/vapor/fluent","forks_url":"https://api.github.com/repos/vapor/fluent/forks","keys_url":"https://api.github.com/repos/vapor/fluent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vapor/fluent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vapor/fluent/teams","hooks_url":"https://api.github.com/repos/vapor/fluent/hooks","issue_events_url":"https://api.github.com/repos/vapor/fluent/issues/events{/number}","events_url":"https://api.github.com/repos/vapor/fluent/events","assignees_url":"https://api.github.com/repos/vapor/fluent/assignees{/user}","branches_url":"https://api.github.com/repos/vapor/fluent/branches{/branch}","tags_url":"https://api.github.com/repos/vapor/fluent/tags","blobs_url":"https://api.github.com/repos/vapor/fluent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vapor/fluent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vapor/fluent/git/refs{/sha}","trees_url":"https://api.github.com/repos/vapor/fluent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vapor/fluent/statuses/{sha}","languages_url":"https://api.github.com/repos/vapor/fluent/languages","stargazers_url":"https://api.github.com/repos/vapor/fluent/stargazers","contributors_url":"https://api.github.com/repos/vapor/fluent/contributors","subscribers_url":"https://api.github.com/repos/vapor/fluent/subscribers","subscription_url":"https://api.github.com/repos/vapor/fluent/subscription","commits_url":"https://api.github.com/repos/vapor/fluent/commits{/sha}","git_commits_url":"https://api.github.com/repos/vapor/fluent/git/commits{/sha}","comments_url":"https://api.github.com/repos/vapor/fluent/comments{/number}","issue_comment_url":"https://api.github.com/repos/vapor/fluent/issues/comments{/number}","contents_url":"https://api.github.com/repos/vapor/fluent/contents/{+path}","compare_url":"https://api.github.com/repos/vapor/fluent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vapor/fluent/merges","archive_url":"https://api.github.com/repos/vapor/fluent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vapor/fluent/downloads","issues_url":"https://api.github.com/repos/vapor/fluent/issues{/number}","pulls_url":"https://api.github.com/repos/vapor/fluent/pulls{/number}","milestones_url":"https://api.github.com/repos/vapor/fluent/milestones{/number}","notifications_url":"https://api.github.com/repos/vapor/fluent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vapor/fluent/labels{/name}","releases_url":"https://api.github.com/repos/vapor/fluent/releases{/id}","deployments_url":"https://api.github.com/repos/vapor/fluent/deployments","created_at":"2016-01-27T22:41:05Z","updated_at":"2018-03-23T20:19:23Z","pushed_at":"2018-03-25T21:55:41Z","git_url":"git://github.com/vapor/fluent.git","ssh_url":"git@github.com:vapor/fluent.git","clone_url":"https://github.com/vapor/fluent.git","svn_url":"https://github.com/vapor/fluent","homepage":"","size":3814,"stargazers_count":797,"watchers_count":797,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":102,"open_issues":51,"watchers":797,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vapor/fluent/pulls/421"},"html":{"href":"https://github.com/vapor/fluent/pull/421"},"issue":{"href":"https://api.github.com/repos/vapor/fluent/issues/421"},"comments":{"href":"https://api.github.com/repos/vapor/fluent/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/vapor/fluent/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/vapor/fluent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vapor/fluent/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/vapor/fluent/statuses/1314d39cc3835e0bfb849e930efe4ca081952e44"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tanner0101","id":1342803,"avatar_url":"https://avatars2.githubusercontent.com/u/1342803?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner0101","html_url":"https://github.com/tanner0101","followers_url":"https://api.github.com/users/tanner0101/followers","following_url":"https://api.github.com/users/tanner0101/following{/other_user}","gists_url":"https://api.github.com/users/tanner0101/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner0101/subscriptions","organizations_url":"https://api.github.com/users/tanner0101/orgs","repos_url":"https://api.github.com/users/tanner0101/repos","events_url":"https://api.github.com/users/tanner0101/events{/privacy}","received_events_url":"https://api.github.com/users/tanner0101/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":208,"deletions":73,"changed_files":8}}
{"actor":{"display_login":"tanner0101"}}