sequelize/sequelize — pull request #2075 by db6edr (2014-07-22 18:51:21+00:00)
Title: SQLite attributesToSQL: Extend condition on when to set a DEFAULT value

Without the extended condition, renameColumnQuery sets DEFAULT 'null' instead of DEFAULT NULL or not even setting any default.