Hỏi & Đáp
사용자 차단 로직 구성에 대한 질문
다음과 같이 하니 block 테이블이 이렇게 생성이 되었습니다. 이게 맞는걸까요? 아니면 위에 것이 맞는걸까요? db. User . belongsToMany (db. User , { through : "block" , as : "Blocker" , foreignKey : "BlockerId" }); db. User . belongsToMany (db. User , { through : "block" , as : "Blocked" , foreignKey : "BlockedId" });
- Lượt thích
- 0
- Số bình luận
- 4
- Lượt xem
- 1298

