{"action":"created","issue":{"url":"https://api.github.com/repos/orchestral/testbench/issues/121","repository_url":"https://api.github.com/repos/orchestral/testbench","labels_url":"https://api.github.com/repos/orchestral/testbench/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/orchestral/testbench/issues/121/comments","events_url":"https://api.github.com/repos/orchestral/testbench/issues/121/events","html_url":"https://github.com/orchestral/testbench/issues/121","id":170735169,"number":121,"title":"Migrate:rollback/DatabaseMigrations Trait","user":{"login":"loren138","id":1224505,"avatar_url":"https://avatars.githubusercontent.com/u/1224505?v=3","gravatar_id":"","url":"https://api.github.com/users/loren138","html_url":"https://github.com/loren138","followers_url":"https://api.github.com/users/loren138/followers","following_url":"https://api.github.com/users/loren138/following{/other_user}","gists_url":"https://api.github.com/users/loren138/gists{/gist_id}","starred_url":"https://api.github.com/users/loren138/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loren138/subscriptions","organizations_url":"https://api.github.com/users/loren138/orgs","repos_url":"https://api.github.com/users/loren138/repos","events_url":"https://api.github.com/users/loren138/events{/privacy}","received_events_url":"https://api.github.com/users/loren138/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-11T20:13:12Z","updated_at":"2016-08-11T22:41:31Z","closed_at":null,"body":"I was wondering if their was a reason that rollback was left out of the database commands updated for use with the realpath attribute, and if you had considered implementing something like the DatabaseMigrations trait in Laravel for tests.  (The arguments would have to come from a test class property or getter function.)\r\n\r\nI reimplemented the trait for my own use (using migrate:refresh) since migrate:rollback was unavailable.  If you would be interested in them, I could port the trait into testbench and contribute it as a pull request.  If not or if you would rather implement it yourself or have a reason you don't  want it, that's fine."},"comment":{"url":"https://api.github.com/repos/orchestral/testbench/issues/comments/239315357","html_url":"https://github.com/orchestral/testbench/issues/121#issuecomment-239315357","issue_url":"https://api.github.com/repos/orchestral/testbench/issues/121","id":239315357,"user":{"login":"crynobone","id":172966,"avatar_url":"https://avatars.githubusercontent.com/u/172966?v=3","gravatar_id":"","url":"https://api.github.com/users/crynobone","html_url":"https://github.com/crynobone","followers_url":"https://api.github.com/users/crynobone/followers","following_url":"https://api.github.com/users/crynobone/following{/other_user}","gists_url":"https://api.github.com/users/crynobone/gists{/gist_id}","starred_url":"https://api.github.com/users/crynobone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crynobone/subscriptions","organizations_url":"https://api.github.com/users/crynobone/orgs","repos_url":"https://api.github.com/users/crynobone/repos","events_url":"https://api.github.com/users/crynobone/events{/privacy}","received_events_url":"https://api.github.com/users/crynobone/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T22:41:31Z","updated_at":"2016-08-11T22:41:31Z","body":"You send the PR, thank you."}}
{"actor":{"display_login":"crynobone"}}