{"action":"created","issue":{"url":"https://api.github.com/repos/rnubel/pgmgr/issues/16","labels_url":"https://api.github.com/repos/rnubel/pgmgr/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/rnubel/pgmgr/issues/16/comments","events_url":"https://api.github.com/repos/rnubel/pgmgr/issues/16/events","html_url":"https://github.com/rnubel/pgmgr/pull/16","id":126575322,"number":16,"title":"Print out error message on failed rollback","user":{"login":"Willux","id":1232162,"avatar_url":"https://avatars.githubusercontent.com/u/1232162?v=3","gravatar_id":"","url":"https://api.github.com/users/Willux","html_url":"https://github.com/Willux","followers_url":"https://api.github.com/users/Willux/followers","following_url":"https://api.github.com/users/Willux/following{/other_user}","gists_url":"https://api.github.com/users/Willux/gists{/gist_id}","starred_url":"https://api.github.com/users/Willux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Willux/subscriptions","organizations_url":"https://api.github.com/users/Willux/orgs","repos_url":"https://api.github.com/users/Willux/repos","events_url":"https://api.github.com/users/Willux/events{/privacy}","received_events_url":"https://api.github.com/users/Willux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T04:34:17Z","updated_at":"2016-01-14T17:31:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rnubel/pgmgr/pulls/16","html_url":"https://github.com/rnubel/pgmgr/pull/16","diff_url":"https://github.com/rnubel/pgmgr/pull/16.diff","patch_url":"https://github.com/rnubel/pgmgr/pull/16.patch"},"body":"* Add tests for the `Rollback()` function\r\n* Print out the error message on a failed `Rollback()`. I had an issue where it only said applying the `down` migration without telling me if it finished or not. To debug I always had to run the .sql file via `psql`.\r\n* Added the `rollback` explanation to the README\r\n\r\nOne more thing to consider is that I changed the failure errors in `Migrate` to print to stderr instead of stdout. I hope this won't cause any issues. If it is an issue, I can change the `fmt.Fprintf`'s to print to stdout."},"comment":{"url":"https://api.github.com/repos/rnubel/pgmgr/issues/comments/171715596","html_url":"https://github.com/rnubel/pgmgr/pull/16#issuecomment-171715596","issue_url":"https://api.github.com/repos/rnubel/pgmgr/issues/16","id":171715596,"user":{"login":"rnubel","id":850438,"avatar_url":"https://avatars.githubusercontent.com/u/850438?v=3","gravatar_id":"","url":"https://api.github.com/users/rnubel","html_url":"https://github.com/rnubel","followers_url":"https://api.github.com/users/rnubel/followers","following_url":"https://api.github.com/users/rnubel/following{/other_user}","gists_url":"https://api.github.com/users/rnubel/gists{/gist_id}","starred_url":"https://api.github.com/users/rnubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnubel/subscriptions","organizations_url":"https://api.github.com/users/rnubel/orgs","repos_url":"https://api.github.com/users/rnubel/repos","events_url":"https://api.github.com/users/rnubel/events{/privacy}","received_events_url":"https://api.github.com/users/rnubel/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T17:31:46Z","updated_at":"2016-01-14T17:31:46Z","body":"Looks great. Thanks Vilius!"}}