MEME
테이블 (22)
게시글 (post)
- 게시물 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 카테고리 일련번호 (categoryId) — Integer — 외래 키 → 게시글 카테고리.카테고리 일련번호 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 제목 (title) — Varchar
- 원본 이미지 (originalImg) — Varchar
- 저용량 이미지 (smallImg) — Varchar
- 좋아요 수 (likeCount) — Integer
- 조회 수 (viewCount) — Integer
- 생성 날짜 (createdTime) — DateTime
- 수정 날짜 (updatedTime) — DateTime
- 삭제여부 (isDeleted) — Boolean
게시글 댓글 알림 (notification_comment)
- 댓글 알림 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 알림Controller 일련번호 (notificationControllerId) — Integer — 외래 키 → 알림Controller.알림Controller 일련번호 — NOT NULL
- 댓글 일련번호 (commentId) — Integer — 외래 키 → 댓글.댓글 일련번호 — NOT NULL
게시글 조회 (post_view)
- 조회수 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
- 아이피 주소 (ip) — Varchar
- 생성 날짜 (createdTime) — Varchar
게시글 좋아요 (post_like)
- 좋아요 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
- 삭제 (isDeleted) — Boolean
- 생성 날짜 (createdTime) — Datetime
게시글 좋아요 알림 (notification_post_like)
- 좋아요 알림 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 알림Controller 일련번호 (notificationControllerId) — Integer — 외래 키 → 알림Controller.알림Controller 일련번호 — NOT NULL
- 좋아요 일련번호 (postLikeId) — Integer — 외래 키 → 게시글 좋아요.좋아요 일련번호 — NOT NULL
게시글 즐겨찾기 (post_favorite)
- 즐겨찾기 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
- 삭제 (isDeleted) — Boolean
- 생성 날짜 (createdTime) — DateTime
게시글 카테고리 (category)
- 카테고리 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 카테고리 이름 (name) — Varchar
게시글와 태그 연결 테이블 (post_to_tag)
- 고유 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
- 태그 일련번호 (tagId) — Integer — 외래 키 → 태그.태그 일련번호 — NOT NULL
댓글 (comment)
- 댓글 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
- 생성 날짜 (createdTime) — DateTime
- 수정 날짜 (updatedTime) — DateTime
- 삭제여부 (isDeleted) — Boolean
- 내용 (body) — Varchar
- 대댓글 용도 (parentCommentId) — Integer — 외래 키 → 댓글.댓글 일련번호 — NOT NULL
신고 게시글 (report_port)
- 신고 게시글 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 신고 일련번호 (reportControllerId) — Integer — 외래 키 → 신고Controller.신고 일련번호 — NOT NULL
- 게시물 일련번호 (postId) — Integer — 외래 키 → 게시글.게시물 일련번호 — NOT NULL
신고 댓글 (report_comment)
- 신고 댓글 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 신고 일련번호 (reportControllerId) — Integer — 외래 키 → 신고Controller.신고 일련번호 — NOT NULL
- 댓글 일련번호 (commentId) — Integer — 외래 키 → 댓글.댓글 일련번호 — NOT NULL
신고 유형 (report_type)
- 신고 유형 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 신고 유형 이름 (name) — Varchar
- 신고 유형 설명 (description) — Varchar
신고 종류 (report_target)
- 신고 종류 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 신고 종류 이름 (name) — Varchar
- 신고 종류 설명 (description) — Varchar
신고Controller (report_controller)
- 신고 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저 일련번호 (userId) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 신고 종류 일련번호 (reportTargetId) — Integer — 외래 키 → 신고 종류.신고 종류 일련번호 — NOT NULL
- 신고 유형 일련번호 (reportTypeId) — Integer — 외래 키 → 신고 유형.신고 유형 일련번호 — NOT NULL
- 생성 날짜 (createdTime) — Datetime
신고내용 (report_etc_message)
- 신고내용 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 신고 일련번호 (reportControllerid) — Integer — 외래 키 → 신고Controller.신고 일련번호 — NOT NULL
- 신고 내용 (reportEtcMessage) — Varchar
알림 종류 (notification_type)
- 알림 종류 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 알림 종류 이름 (name) — Varchar
- 알림 종류 설명 (description) — Varchar
알림Controller (notification_controller)
- 알림Controller 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 알림 종류 일련번호 (notificationTypeId) — Integer — 외래 키 → 알림 종류.알림 종류 일련번호 — NOT NULL
- 송신자 (sender) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 수신자 (receiver) — Integer — 외래 키 → 유저.유저 일련번호 — NOT NULL
- 생성 날짜 (createdTime) — DateTime
- 확인했는지 (isViewed) — Boolean
- 대표 알림 내용 (representMessage) — Varchar
유저 (user)
- 유저 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저타입 일련번호 (userTypeId) — Integer — 외래 키 → 유저타입(관리자등).유저타입 일련번호 — NOT NULL
- 유저상태 일련번호 (userStatusId) — Integer — 외래 키 → 유저상태.유저상태 일련번호 — NOT NULL
- 유저계정종류 일련번호 (userProviderId) — Integer — 외래 키 → 유저로그인방식.유저계정종류 일련번호 — NOT NULL
- 닉네임 (nickName) — Varchar
- 고유코드 (uniqueCode) — Varchar
- 프로필 이미지 (img) — Varchar
- 마지막 로그인 날짜 (lastLoginTime) — Datetime
- 회원가입 일자 (createdTime) — Datetime
- 정보 수정 날짜 (updatedTime) — Datetime
유저로그인방식 (user_provider)
- 유저계정종류 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저계정종류 이름 (name) — Varchar
- 유저계정종류 설명 (description) — Varchar
유저상태 (user_status)
- 유저상태 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 상태 (name) — Varchar
- 설명 (description) — Varchar
유저타입(관리자등) (user_type)
- 유저타입 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 유저가입 방식 이름 (name) — Varchar
- 유저가입 방식 설명 (description) — Varchar
태그 (tag)
- 태그 일련번호 (id) — Integer — 기본 키 — NOT NULL
- 태그 이름 (name) — Varchar
- 태그 정보 (description) — Varchar