{"action":"closed","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4077","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4077/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4077/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4077/events","html_url":"https://github.com/sequelize/sequelize/issues/4077","id":93790061,"number":4077,"title":"No error handling in addColumn method in migrations","user":{"login":"polkovnikov-ph","id":2983969,"avatar_url":"https://avatars.githubusercontent.com/u/2983969?v=3","gravatar_id":"","url":"https://api.github.com/users/polkovnikov-ph","html_url":"https://github.com/polkovnikov-ph","followers_url":"https://api.github.com/users/polkovnikov-ph/followers","following_url":"https://api.github.com/users/polkovnikov-ph/following{/other_user}","gists_url":"https://api.github.com/users/polkovnikov-ph/gists{/gist_id}","starred_url":"https://api.github.com/users/polkovnikov-ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polkovnikov-ph/subscriptions","organizations_url":"https://api.github.com/users/polkovnikov-ph/orgs","repos_url":"https://api.github.com/users/polkovnikov-ph/repos","events_url":"https://api.github.com/users/polkovnikov-ph/events{/privacy}","received_events_url":"https://api.github.com/users/polkovnikov-ph/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sequelize/sequelize/labels/bug","name":"bug","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T13:31:12Z","updated_at":"2015-07-16T09:57:08Z","closed_at":"2015-07-16T09:57:08Z","body":"If one calls method `addColumn` instead of `removeColumn` with two arguments, sequelize doesn't check its third argument for `null`. This results in a pretty unreadable error message. For example in case of Postgres, it tells about a syntax error somewhere near \";\". This has nothing to do with origin of this diagnostic."}}