module.exports = function (sequelize, DataTypes) {
    var Project = sequelize.define("Project", {
        id: { type: "INTEGER", autoIncrement: true, primaryKey: true },
        name: { type: "TEXT", allowNull: false }
    },{
        timestamps: false,
        tableName: 'projects',
        classMethods: {
            associate : function (models) {
                Project.hasMany(models.Todo, {
                    foreignKey : "id"
                })
            }
        }
    });

    return Project;
};
@@ -428,16 +428,24 @@
 nKey : %22
+project_
 id%22%0A    

fix. project association