Modelo de usuarios para empezar

This commit is contained in:
David Arranz 2019-06-13 09:54:23 +02:00
parent dd965f7c0a
commit 570acb9585

View File

@ -20,9 +20,6 @@ module.exports = function (sequelize, DataTypes) {
through: models.EntityEntitiesTypes,
foreignKey: 'typeId'
});
//Post.Comments = Post.hasMany(models.Comment, { foreignKey: 'postId' });
//Post.Reactions = Post.hasMany(models.PostReaction, { foreignKey: 'postId' });
//Post.User = Post.belongsTo(models.User, { foreignKey: 'userId' });
};
return EntityType;