Skip to content

DB 설정 및 model 정의#1

Open
Jiwon-Yang wants to merge 3 commits into
masterfrom
feature/settingDB
Open

DB 설정 및 model 정의#1
Jiwon-Yang wants to merge 3 commits into
masterfrom
feature/settingDB

Conversation

@Jiwon-Yang

Copy link
Copy Markdown
Collaborator

No description provided.

@Jiwon-Yang Jiwon-Yang requested a review from changhoi February 16, 2020 23:42

@changhoi changhoi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jiwon-Yang Sequelize 데이터 타입에 익숙하지 않아서. 읽히고 이해한 대로 우선 리뷰를 했습니다. 확인하고 오늘 중으로 꼭 수정 해주세요 ㅠ

Comment thread models/entities/team.js
Comment thread loaders/index.js Outdated
Comment thread models/entities/matchinglog.js Outdated
Comment thread models/entities/matchinglog.js
Comment thread models/entities/report.js
Comment thread models/entities/team.js
Comment thread models/entities/user.js
Comment thread models/entities/user.js
Comment thread models/entities/user.js
Comment on lines +132 to +135
warning: {
type: DataTypes.STRING(100),
allowNull: true
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

report과 N:M 관계입니다. 다만 여기가 manTeam과 관계가 걸리는 건지, womanTeam과 관계가 걸리는 건지에 따라 reference가 달라져야 할 텐데 이 부분을 어떻게 해야 할지?..

가장 간단하게는 warningForMan, warningForWoman으로 띡 나눠버리면 될 것 같긴 한데, 다른 방법이 있는지는 잘 모르겠네요

Comment thread package.json
@changhoi

Copy link
Copy Markdown

아 그리고 여기 레포 말고 앞으로는 https://github.com/weehan-private/dodohan-server.git여기로 푸시 합시다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants