{"action":"closed","number":407,"pull_request":{"url":"https://api.github.com/repos/gobuffalo/pop/pulls/407","id":293395159,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkzMzk1MTU5","html_url":"https://github.com/gobuffalo/pop/pull/407","diff_url":"https://github.com/gobuffalo/pop/pull/407.diff","patch_url":"https://github.com/gobuffalo/pop/pull/407.patch","issue_url":"https://api.github.com/repos/gobuffalo/pop/issues/407","number":407,"state":"closed","locked":false,"title":"Migration runner and MigrationContent functions","user":{"login":"pjdufour-truss","id":40467706,"node_id":"MDQ6VXNlcjQwNDY3NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/40467706?v=4","gravatar_id":"","url":"https://api.github.com/users/pjdufour-truss","html_url":"https://github.com/pjdufour-truss","followers_url":"https://api.github.com/users/pjdufour-truss/followers","following_url":"https://api.github.com/users/pjdufour-truss/following{/other_user}","gists_url":"https://api.github.com/users/pjdufour-truss/gists{/gist_id}","starred_url":"https://api.github.com/users/pjdufour-truss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjdufour-truss/subscriptions","organizations_url":"https://api.github.com/users/pjdufour-truss/orgs","repos_url":"https://api.github.com/users/pjdufour-truss/repos","events_url":"https://api.github.com/users/pjdufour-truss/events{/privacy}","received_events_url":"https://api.github.com/users/pjdufour-truss/received_events","type":"User","site_admin":false},"body":"This PR externalizes the logic in migration runners and the `migrationContent` function.  MigrationContent is now a public function with a flag to disable templating.  This PR simplifies the `findMigrations` functions so they can be overwritten more easily.","created_at":"2019-07-01T15:35:39Z","updated_at":"2019-07-03T19:01:01Z","closed_at":"2019-07-03T19:01:01Z","merged_at":"2019-07-03T19:01:00Z","merge_commit_sha":"adb1064875d8999fdda79f3497f198dc692ce0b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gobuffalo/pop/pulls/407/commits","review_comments_url":"https://api.github.com/repos/gobuffalo/pop/pulls/407/comments","review_comment_url":"https://api.github.com/repos/gobuffalo/pop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gobuffalo/pop/issues/407/comments","statuses_url":"https://api.github.com/repos/gobuffalo/pop/statuses/f712e2703307b3b8928fde1d6ef4f54b6dbfe48c","head":{"label":"pjdufour-truss:extern_runner","ref":"extern_runner","sha":"f712e2703307b3b8928fde1d6ef4f54b6dbfe48c","user":{"login":"pjdufour-truss","id":40467706,"node_id":"MDQ6VXNlcjQwNDY3NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/40467706?v=4","gravatar_id":"","url":"https://api.github.com/users/pjdufour-truss","html_url":"https://github.com/pjdufour-truss","followers_url":"https://api.github.com/users/pjdufour-truss/followers","following_url":"https://api.github.com/users/pjdufour-truss/following{/other_user}","gists_url":"https://api.github.com/users/pjdufour-truss/gists{/gist_id}","starred_url":"https://api.github.com/users/pjdufour-truss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjdufour-truss/subscriptions","organizations_url":"https://api.github.com/users/pjdufour-truss/orgs","repos_url":"https://api.github.com/users/pjdufour-truss/repos","events_url":"https://api.github.com/users/pjdufour-truss/events{/privacy}","received_events_url":"https://api.github.com/users/pjdufour-truss/received_events","type":"User","site_admin":false},"repo":{"id":191412223,"node_id":"MDEwOlJlcG9zaXRvcnkxOTE0MTIyMjM=","name":"pop","full_name":"pjdufour-truss/pop","private":false,"owner":{"login":"pjdufour-truss","id":40467706,"node_id":"MDQ6VXNlcjQwNDY3NzA2","avatar_url":"https://avatars0.githubusercontent.com/u/40467706?v=4","gravatar_id":"","url":"https://api.github.com/users/pjdufour-truss","html_url":"https://github.com/pjdufour-truss","followers_url":"https://api.github.com/users/pjdufour-truss/followers","following_url":"https://api.github.com/users/pjdufour-truss/following{/other_user}","gists_url":"https://api.github.com/users/pjdufour-truss/gists{/gist_id}","starred_url":"https://api.github.com/users/pjdufour-truss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjdufour-truss/subscriptions","organizations_url":"https://api.github.com/users/pjdufour-truss/orgs","repos_url":"https://api.github.com/users/pjdufour-truss/repos","events_url":"https://api.github.com/users/pjdufour-truss/events{/privacy}","received_events_url":"https://api.github.com/users/pjdufour-truss/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pjdufour-truss/pop","description":"A Tasty Treat For All Your Database Needs","fork":true,"url":"https://api.github.com/repos/pjdufour-truss/pop","forks_url":"https://api.github.com/repos/pjdufour-truss/pop/forks","keys_url":"https://api.github.com/repos/pjdufour-truss/pop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjdufour-truss/pop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjdufour-truss/pop/teams","hooks_url":"https://api.github.com/repos/pjdufour-truss/pop/hooks","issue_events_url":"https://api.github.com/repos/pjdufour-truss/pop/issues/events{/number}","events_url":"https://api.github.com/repos/pjdufour-truss/pop/events","assignees_url":"https://api.github.com/repos/pjdufour-truss/pop/assignees{/user}","branches_url":"https://api.github.com/repos/pjdufour-truss/pop/branches{/branch}","tags_url":"https://api.github.com/repos/pjdufour-truss/pop/tags","blobs_url":"https://api.github.com/repos/pjdufour-truss/pop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjdufour-truss/pop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjdufour-truss/pop/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjdufour-truss/pop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjdufour-truss/pop/statuses/{sha}","languages_url":"https://api.github.com/repos/pjdufour-truss/pop/languages","stargazers_url":"https://api.github.com/repos/pjdufour-truss/pop/stargazers","contributors_url":"https://api.github.com/repos/pjdufour-truss/pop/contributors","subscribers_url":"https://api.github.com/repos/pjdufour-truss/pop/subscribers","subscription_url":"https://api.github.com/repos/pjdufour-truss/pop/subscription","commits_url":"https://api.github.com/repos/pjdufour-truss/pop/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjdufour-truss/pop/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjdufour-truss/pop/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjdufour-truss/pop/issues/comments{/number}","contents_url":"https://api.github.com/repos/pjdufour-truss/pop/contents/{+path}","compare_url":"https://api.github.com/repos/pjdufour-truss/pop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjdufour-truss/pop/merges","archive_url":"https://api.github.com/repos/pjdufour-truss/pop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjdufour-truss/pop/downloads","issues_url":"https://api.github.com/repos/pjdufour-truss/pop/issues{/number}","pulls_url":"https://api.github.com/repos/pjdufour-truss/pop/pulls{/number}","milestones_url":"https://api.github.com/repos/pjdufour-truss/pop/milestones{/number}","notifications_url":"https://api.github.com/repos/pjdufour-truss/pop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjdufour-truss/pop/labels{/name}","releases_url":"https://api.github.com/repos/pjdufour-truss/pop/releases{/id}","deployments_url":"https://api.github.com/repos/pjdufour-truss/pop/deployments","created_at":"2019-06-11T16:43:40Z","updated_at":"2019-06-11T16:43:43Z","pushed_at":"2019-07-03T18:44:15Z","git_url":"git://github.com/pjdufour-truss/pop.git","ssh_url":"git@github.com:pjdufour-truss/pop.git","clone_url":"https://github.com/pjdufour-truss/pop.git","svn_url":"https://github.com/pjdufour-truss/pop","homepage":"","size":5060,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gobuffalo:development","ref":"development","sha":"0e2ff23e5074b52e093265b6cf508a02f6bec05f","user":{"login":"gobuffalo","id":24794651,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzk0NjUx","avatar_url":"https://avatars0.githubusercontent.com/u/24794651?v=4","gravatar_id":"","url":"https://api.github.com/users/gobuffalo","html_url":"https://github.com/gobuffalo","followers_url":"https://api.github.com/users/gobuffalo/followers","following_url":"https://api.github.com/users/gobuffalo/following{/other_user}","gists_url":"https://api.github.com/users/gobuffalo/gists{/gist_id}","starred_url":"https://api.github.com/users/gobuffalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gobuffalo/subscriptions","organizations_url":"https://api.github.com/users/gobuffalo/orgs","repos_url":"https://api.github.com/users/gobuffalo/repos","events_url":"https://api.github.com/users/gobuffalo/events{/privacy}","received_events_url":"https://api.github.com/users/gobuffalo/received_events","type":"Organization","site_admin":false},"repo":{"id":120672428,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2NzI0Mjg=","name":"pop","full_name":"gobuffalo/pop","private":false,"owner":{"login":"gobuffalo","id":24794651,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0Nzk0NjUx","avatar_url":"https://avatars0.githubusercontent.com/u/24794651?v=4","gravatar_id":"","url":"https://api.github.com/users/gobuffalo","html_url":"https://github.com/gobuffalo","followers_url":"https://api.github.com/users/gobuffalo/followers","following_url":"https://api.github.com/users/gobuffalo/following{/other_user}","gists_url":"https://api.github.com/users/gobuffalo/gists{/gist_id}","starred_url":"https://api.github.com/users/gobuffalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gobuffalo/subscriptions","organizations_url":"https://api.github.com/users/gobuffalo/orgs","repos_url":"https://api.github.com/users/gobuffalo/repos","events_url":"https://api.github.com/users/gobuffalo/events{/privacy}","received_events_url":"https://api.github.com/users/gobuffalo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gobuffalo/pop","description":"A Tasty Treat For All Your Database Needs","fork":false,"url":"https://api.github.com/repos/gobuffalo/pop","forks_url":"https://api.github.com/repos/gobuffalo/pop/forks","keys_url":"https://api.github.com/repos/gobuffalo/pop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gobuffalo/pop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gobuffalo/pop/teams","hooks_url":"https://api.github.com/repos/gobuffalo/pop/hooks","issue_events_url":"https://api.github.com/repos/gobuffalo/pop/issues/events{/number}","events_url":"https://api.github.com/repos/gobuffalo/pop/events","assignees_url":"https://api.github.com/repos/gobuffalo/pop/assignees{/user}","branches_url":"https://api.github.com/repos/gobuffalo/pop/branches{/branch}","tags_url":"https://api.github.com/repos/gobuffalo/pop/tags","blobs_url":"https://api.github.com/repos/gobuffalo/pop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gobuffalo/pop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gobuffalo/pop/git/refs{/sha}","trees_url":"https://api.github.com/repos/gobuffalo/pop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gobuffalo/pop/statuses/{sha}","languages_url":"https://api.github.com/repos/gobuffalo/pop/languages","stargazers_url":"https://api.github.com/repos/gobuffalo/pop/stargazers","contributors_url":"https://api.github.com/repos/gobuffalo/pop/contributors","subscribers_url":"https://api.github.com/repos/gobuffalo/pop/subscribers","subscription_url":"https://api.github.com/repos/gobuffalo/pop/subscription","commits_url":"https://api.github.com/repos/gobuffalo/pop/commits{/sha}","git_commits_url":"https://api.github.com/repos/gobuffalo/pop/git/commits{/sha}","comments_url":"https://api.github.com/repos/gobuffalo/pop/comments{/number}","issue_comment_url":"https://api.github.com/repos/gobuffalo/pop/issues/comments{/number}","contents_url":"https://api.github.com/repos/gobuffalo/pop/contents/{+path}","compare_url":"https://api.github.com/repos/gobuffalo/pop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gobuffalo/pop/merges","archive_url":"https://api.github.com/repos/gobuffalo/pop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gobuffalo/pop/downloads","issues_url":"https://api.github.com/repos/gobuffalo/pop/issues{/number}","pulls_url":"https://api.github.com/repos/gobuffalo/pop/pulls{/number}","milestones_url":"https://api.github.com/repos/gobuffalo/pop/milestones{/number}","notifications_url":"https://api.github.com/repos/gobuffalo/pop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gobuffalo/pop/labels{/name}","releases_url":"https://api.github.com/repos/gobuffalo/pop/releases{/id}","deployments_url":"https://api.github.com/repos/gobuffalo/pop/deployments","created_at":"2018-02-07T21:13:46Z","updated_at":"2019-06-29T09:21:25Z","pushed_at":"2019-07-03T19:01:00Z","git_url":"git://github.com/gobuffalo/pop.git","ssh_url":"git@github.com:gobuffalo/pop.git","clone_url":"https://github.com/gobuffalo/pop.git","svn_url":"https://github.com/gobuffalo/pop","homepage":"","size":5045,"stargazers_count":655,"watchers_count":655,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":67,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":160,"open_issues":67,"watchers":655,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gobuffalo/pop/pulls/407"},"html":{"href":"https://github.com/gobuffalo/pop/pull/407"},"issue":{"href":"https://api.github.com/repos/gobuffalo/pop/issues/407"},"comments":{"href":"https://api.github.com/repos/gobuffalo/pop/issues/407/comments"},"review_comments":{"href":"https://api.github.com/repos/gobuffalo/pop/pulls/407/comments"},"review_comment":{"href":"https://api.github.com/repos/gobuffalo/pop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gobuffalo/pop/pulls/407/commits"},"statuses":{"href":"https://api.github.com/repos/gobuffalo/pop/statuses/f712e2703307b3b8928fde1d6ef4f54b6dbfe48c"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stanislas-m","id":1911803,"node_id":"MDQ6VXNlcjE5MTE4MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1911803?v=4","gravatar_id":"","url":"https://api.github.com/users/stanislas-m","html_url":"https://github.com/stanislas-m","followers_url":"https://api.github.com/users/stanislas-m/followers","following_url":"https://api.github.com/users/stanislas-m/following{/other_user}","gists_url":"https://api.github.com/users/stanislas-m/gists{/gist_id}","starred_url":"https://api.github.com/users/stanislas-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanislas-m/subscriptions","organizations_url":"https://api.github.com/users/stanislas-m/orgs","repos_url":"https://api.github.com/users/stanislas-m/repos","events_url":"https://api.github.com/users/stanislas-m/events{/privacy}","received_events_url":"https://api.github.com/users/stanislas-m/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":85,"deletions":71,"changed_files":4}}
{"actor":{"display_login":"stanislas-m"}}