버그 수정

This commit is contained in:
2025-04-24 13:48:53 +09:00
parent 7fa99e6988
commit f01bcbdf39
9 changed files with 18 additions and 21 deletions
-12
View File
@@ -97,16 +97,4 @@ Event.associate = (models) => {
});
};
Event.associate = (models) => {
Event.belongsTo(models.Club, {
foreignKey: 'clubId'
});
Event.hasMany(models.EventParticipant, {
foreignKey: 'eventId'
});
Event.hasMany(models.EventScore, {
foreignKey: 'eventId'
});
};
module.exports = Event;