{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/21","labels_url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/21/comments","events_url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/21/events","html_url":"https://github.com/sequelize/sequelize-auto/issues/21","id":100351493,"number":21,"title":"Unhandled rejection TypeError: undefined is not a function : lib\\index.js:100:59 mssql dialect","user":{"login":"brettveenstra","id":85854,"avatar_url":"https://avatars.githubusercontent.com/u/85854?v=3","gravatar_id":"","url":"https://api.github.com/users/brettveenstra","html_url":"https://github.com/brettveenstra","followers_url":"https://api.github.com/users/brettveenstra/followers","following_url":"https://api.github.com/users/brettveenstra/following{/other_user}","gists_url":"https://api.github.com/users/brettveenstra/gists{/gist_id}","starred_url":"https://api.github.com/users/brettveenstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettveenstra/subscriptions","organizations_url":"https://api.github.com/users/brettveenstra/orgs","repos_url":"https://api.github.com/users/brettveenstra/repos","events_url":"https://api.github.com/users/brettveenstra/events{/privacy}","received_events_url":"https://api.github.com/users/brettveenstra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-11T16:23:31Z","updated_at":"2015-10-01T23:47:15Z","closed_at":null,"body":"Received this error when attempting to run against 'mssql' dialect (see hack in #12)\r\n\r\n\r\n    Unhandled rejection TypeError: undefined is not a function\r\n        at .....\\node_modules\\sequelize-auto\\lib\\index.js:100:59\r\n        at Array.forEach (native)\r\n        at .....\\node_modules\\sequelize-auto\\lib\\index.js:77:25\r\n        at Array.forEach (native)\r\n        at .....\\node_modules\\sequelize-auto\\lib\\index.js:63:18\r\n        at .....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:187:20\r\n        at .....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:239:13\r\n        at _arrayEach (.....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:91:13)\r\n        at _each (.....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:82:13)\r\n\r\n        at Object.async.forEachOf.async.eachOf (.....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:238:9)\r\n        at Object.async.forEach.async.each (.....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:215:22)\r\n        at .....\\node_modules\\sequelize-auto\\lib\\index.js:51:15\r\n        at .....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:52:16\r\n        at done (.....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:248:21)\r\n\r\n        at .....\\node_modules\\sequelize-auto\\node_modules\\async\\lib\\async.js:44:16\r\n        at .....\\node_modules\\sequelize-auto\\lib\\index.js:47:13\r\n        \r\n"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/comments/144879306","html_url":"https://github.com/sequelize/sequelize-auto/issues/21#issuecomment-144879306","issue_url":"https://api.github.com/repos/sequelize/sequelize-auto/issues/21","id":144879306,"user":{"login":"riemannzeta","id":4023270,"avatar_url":"https://avatars.githubusercontent.com/u/4023270?v=3","gravatar_id":"","url":"https://api.github.com/users/riemannzeta","html_url":"https://github.com/riemannzeta","followers_url":"https://api.github.com/users/riemannzeta/followers","following_url":"https://api.github.com/users/riemannzeta/following{/other_user}","gists_url":"https://api.github.com/users/riemannzeta/gists{/gist_id}","starred_url":"https://api.github.com/users/riemannzeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riemannzeta/subscriptions","organizations_url":"https://api.github.com/users/riemannzeta/orgs","repos_url":"https://api.github.com/users/riemannzeta/repos","events_url":"https://api.github.com/users/riemannzeta/events{/privacy}","received_events_url":"https://api.github.com/users/riemannzeta/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T23:47:15Z","updated_at":"2015-10-01T23:47:15Z","body":"Thanks so @brettveenstra That worked for me also.  For any other n00bs interested, the fix goes into ./lib/index.js around line 100.  Sub those three lines in for the existing var attr_ declaration"}}