notification table

알림 테이블입니다.

알림 기능을 사용하는 경우에, 알림 내용이 저장됩니다.

notification 테이블 구조

컬럼명 컬럼타입 설명
not_id INT PK
mem_id INT 알림을 받는 회원 PK
target_mem_id INT 해당 알림을 받게 하는 액션을 취한 회원 PK
not_type VARCHAR 알림 종류 ( comment, comment_comment, note, reply )
not_content_id INT 알림이 있게 한 글의 PK
not_message VARCHAR 알림 내용
not_url VARCHAR 알림 클릭시 이동할 주소
not_datetime DATETIME 알림 발생 일시
not_read_datetime DATETIME 알림 확인 일시