모델 코멘트 입력

This commit is contained in:
2025-04-26 08:04:04 +09:00
parent d1b22d4272
commit 283c8a7f4a
18 changed files with 293 additions and 140 deletions
+7 -3
View File
@@ -5,20 +5,24 @@ const EventTeamMember = sequelize.define('EventTeamMember', {
eventTeamId: {
type: DataTypes.INTEGER.UNSIGNED,
allowNull: false,
primaryKey: true
primaryKey: true,
comment: '이벤트 팀 ID'
},
eventParticipantId: {
type: DataTypes.INTEGER.UNSIGNED,
allowNull: false,
primaryKey: true
primaryKey: true,
comment: '이벤트 참가자 ID'
},
order: {
type: DataTypes.INTEGER.UNSIGNED,
allowNull: false,
defaultValue: 1
defaultValue: 1,
comment: '팀 내 순번'
}
}, {
tableName: 'EventTeamMembers',
comment: '이벤트 팀별 멤버 정보를 저장하는 테이블',
timestamps: false
});