sequelize/sequelize — pull request #2625 by CodeAnimal (2014-11-26 21:53:59+00:00)
Title: Fix attribute validation when allowNull is default

When allowNull is not set for a model's column, treat the default value as true. Also treat primaryKey attribute as allowNull = false.