정리
This commit is contained in:
@@ -55,6 +55,13 @@ const EventParticipant = sequelize.define('EventParticipant', {
|
||||
}, {
|
||||
tableName: 'EventParticipants',
|
||||
comment: '이벤트별 참가자 정보를 저장하는 테이블',
|
||||
indexes: [
|
||||
{
|
||||
unique: true,
|
||||
fields: ['eventId', 'memberId'],
|
||||
name: 'unique_event_member'
|
||||
}
|
||||
],
|
||||
timestamps: true
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user