{"action":"opened","issue":{"url":"https://api.github.com/repos/tgriesser/knex/issues/733","labels_url":"https://api.github.com/repos/tgriesser/knex/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/733/comments","events_url":"https://api.github.com/repos/tgriesser/knex/issues/733/events","html_url":"https://github.com/tgriesser/knex/issues/733","id":60593561,"number":733,"title":"Rollback bad migrations","user":{"login":"mgartner","id":1128750,"avatar_url":"https://avatars.githubusercontent.com/u/1128750?v=3","gravatar_id":"","url":"https://api.github.com/users/mgartner","html_url":"https://github.com/mgartner","followers_url":"https://api.github.com/users/mgartner/followers","following_url":"https://api.github.com/users/mgartner/following{/other_user}","gists_url":"https://api.github.com/users/mgartner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgartner/subscriptions","organizations_url":"https://api.github.com/users/mgartner/orgs","repos_url":"https://api.github.com/users/mgartner/repos","events_url":"https://api.github.com/users/mgartner/events{/privacy}","received_events_url":"https://api.github.com/users/mgartner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T00:49:13Z","updated_at":"2015-03-11T00:49:13Z","closed_at":null,"body":"It would be great if migrations that fail automatically rollback the database to the state before the migration. It's really tough to work with writing new migrations, have them fail, then having to recreate the entire database because it's left in a funky state."}}