sdepold/sequelize — pull request #400 by ricardograca (2013-01-14 12:25:13+00:00)
Title: Migrations - renameColumn: Unhandled error if field name doesn't exist

When trying to run a migration that includes a renameColumn call the sequelize binary throws a ```TypeError: Cannot read property 'Type' of undefined``` error on lib/query-interface.js:141. This is caused by the previous data.filter function not finding any match and so data becomes undefined. The renameColumn method should handle this case a little better.