{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/1882","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/1882/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/1882/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/1882/events","html_url":"https://github.com/sequelize/sequelize/issues/1882","id":35370588,"number":1882,"title":"Transactional migrations","user":{"login":"meredian","id":437622,"avatar_url":"https://avatars.githubusercontent.com/u/437622?v=3","gravatar_id":"","url":"https://api.github.com/users/meredian","html_url":"https://github.com/meredian","followers_url":"https://api.github.com/users/meredian/followers","following_url":"https://api.github.com/users/meredian/following{/other_user}","gists_url":"https://api.github.com/users/meredian/gists{/gist_id}","starred_url":"https://api.github.com/users/meredian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meredian/subscriptions","organizations_url":"https://api.github.com/users/meredian/orgs","repos_url":"https://api.github.com/users/meredian/repos","events_url":"https://api.github.com/users/meredian/events{/privacy}","received_events_url":"https://api.github.com/users/meredian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/feature","name":"feature","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-06-10T10:53:32Z","updated_at":"2016-01-18T14:27:48Z","closed_at":null,"body":"I've explored code for 1.7.8 and encountered a fact, that it's not possible to run migrations in a transaction. Is it a design feature or limitation? After some hacking I had passed queryParams to createTable sql, and it looked quite working.\r\n\r\nThis question leads me to another one: What is current migration behaviour? What actions should be performed according to library design to handle situation when migration (somewhy) fails?"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/172540313","html_url":"https://github.com/sequelize/sequelize/issues/1882#issuecomment-172540313","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/1882","id":172540313,"user":{"login":"mickhansen","id":699049,"avatar_url":"https://avatars.githubusercontent.com/u/699049?v=3","gravatar_id":"","url":"https://api.github.com/users/mickhansen","html_url":"https://github.com/mickhansen","followers_url":"https://api.github.com/users/mickhansen/followers","following_url":"https://api.github.com/users/mickhansen/following{/other_user}","gists_url":"https://api.github.com/users/mickhansen/gists{/gist_id}","starred_url":"https://api.github.com/users/mickhansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickhansen/subscriptions","organizations_url":"https://api.github.com/users/mickhansen/orgs","repos_url":"https://api.github.com/users/mickhansen/repos","events_url":"https://api.github.com/users/mickhansen/events{/privacy}","received_events_url":"https://api.github.com/users/mickhansen/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T14:27:48Z","updated_at":"2016-01-18T14:27:48Z","body":"@kylecordes Some methods already support the transaction option, haven't gone through everything though."}}