sequelize/sequelize — pull request #2187 by jchbh-duplicate (2014-08-26 03:30:46+00:00)
Title: Fix an bug: Boolean always return true in mysql when column define has attributes of ZeroFill and Unsigned.

Find a bug about Query a boolean from database, when set column define to ZeroFill and Unsigned in database side.

If we use sequelizejs.define to create a boolean column, the define in Mysql database is not ZeroFill and not Unsigned, it will be OK.
And if you manually set the definition in Mysql to ZeroFill and Unsigned, and the Model.find/findAll will always return TRUE even the value in database is 0 or null!

So I change the code from direct using "!!value" into "!!parseInt(value)".