Skip to content

[Dev Log] DM기능 관련 message 스키마 변경 #276

Description

@seanswim

오늘은 어떻게 프로젝트에 기여했나요?
DM 기능

message 테이블에 type 칼럼을 추가했습니다.

type이란 보내는 유저의 type_id를 뜻합니다.
ex) giver가 보낸 메세지의 경우 type 1 / helper의 메세지의 경우 type 2

type 칼럼이 필요한 이유는 메세지 데이터를 불러왔을 때 유저에 따라 상대방의 메세지는 왼편 자신의 메세지는 오른편에 표시되어야 하지만
현재 데이터베이스에는 해당사항을 구별할 수 있는 방법이 없기 때문입니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions