버그 수정
This commit is contained in:
@@ -69,6 +69,7 @@ EventParticipant.associate = (models) => {
|
||||
EventParticipant.hasMany(models.EventScore, {
|
||||
foreignKey: 'participantId'
|
||||
});
|
||||
EventParticipant.belongsTo(models.Member, { foreignKey: 'memberId' });
|
||||
};
|
||||
|
||||
module.exports = EventParticipant;
|
||||
|
||||
Reference in New Issue
Block a user