REAL PALLOW
Tables (11)
Chat_message (채팅메시지)
- 채팅메시지 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 채팅방 번호 (id2) — NOUTNULL — Foreign key → Chat_room.채팅방 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용 (content)
- 타입 (type) — chat, invitation, join, leave
Chat_room (채팅방)
- 채팅방 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 삭제일자 (deleted_at) — datetime
- 삭제여부 (is_deleted)
- 방이름 (name)
Invited_board (초대보드)
- 초대보드 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 모임번호 (id3) — NOUTNULL — Foreign key → Meets.모임번호 — NOT NULL
- 유저번호 (id23) — Foreign key → Meets.유저번호 — NOT NULL
- 프로필 번호 (id222) — NOUTNULL — Foreign key → Meets.프로필 번호 — NOT NULL
- 상태 (status) — accepted, declined, waiting
Meets (모임게시글)
- 모임번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용 (content)
- 이미지 (image)
- 좋아요 수 (likes_count)
- 최대 멤버 수 (max_member_count)
- 멤버 수 (member_count)
- 지역(위치) (position)
- 상태 (status) — active, deleted
- 제목 (title)
Meets_review (모임 평가)
- 모임댓글 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용 (content)
- 좋아요 수 (likes_count)
- 별점 (star_rating)
Profile (프로필)
- 프로필 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 주량 (alchole) — always, nope, sometimes
- 생일 (birth)
- 내용 (content)
- 교육수준 (education) — etc, graduate_on, high, univ, univ_on
- 취미 (hobby)
- 이상형 (ideal)
- 이미지 (image)
- 관심사 (interest)
- 직업 (jobs) — artist, ethietic, buisness, education, etc, finance, free_lancer, influencer, medical, musician, office, part_time, prepare, pro, public, research, rest, self, soldier, student, youtuber
- MBTI (mbti) — enfj, enfp, entj, entp, esfj, esfp, estj, estp, infj, infp, intj, intp, isfj, isfp, istj, istp, none
- 성격 (personality) — bold, calm, careful, caring, creative, cute, enthusiastic, faithful, hot, humor, kind, logical, optimistic, positive, prim, sentimental, smooth, sociable, upstage
- 지역(위치) (positionv)
- 장점 (pros) — brain, career, detailed, empathy, express, fashion, foreign, money
- 찾는 친구 (relationship) — finding_friend, friendship_or_dating_ok, looking_for_serious_relationship, undecied
- 종교 (religion) — buddhism, catholic, christian, etc, none, wonbuddhism
- 흡연여부 (smoking) — cigar, electric, none, quitting
User (유저)
- 유저번호 (id) — Primary key — NOT NULL
- 프로필 번호 (id2) — NOUTNULL — Foreign key → Profile.프로필 번호 — NOT NULL
- 생성일자 (created_at)
- 수정일자 (modified_at) — datetime
- 이메일 (email)
- 성별 (gender) — female, male
- 이름 (name)
- 닉네임 (nickname)
- 인증 (oauth)
- 비밀번호 (password)
- 상태 (status) — active, deleted
- 역할 (user_role) — root, user
- 아이디 (usernamev)
User_and_chat_room (유저와 채팅방 중간테이블)
- 유저와 채팅방 중간테이블 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 채팅방 번호 (id3) — NOUTNULL — Foreign key → Chat_room.채팅방 번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 활동여부 (is_active)
- 읽음여부 (is_read)
Userboard (유저 게시글)
- 유저보드 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용 (content)
- 이미지 (image)
- 좋아요 수 (likes_count)
- 제목 (title)
Userboard_comment (유저보드 댓글)
- 유저보드 댓글 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저보드 번호 (id2) — NOUTNULL — Foreign key → Userboard.유저보드 번호 — NOT NULL
- 유저번호 (id3) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 유저번호 (id23) — Foreign key → Userboard.유저번호 — NOT NULL
- 프로필 번호 (id222) — NOUTNULL — Foreign key → Userboard.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용 (content)
- 좋아요 수 (likes_count)
likes (좋아요)
- 좋아요 번호 (id) — NOUTNULL — Primary key — NOT NULL
- 유저번호 (id2) — Foreign key → User.유저번호 — NOT NULL
- 프로필 번호 (id22) — NOUTNULL — Foreign key → User.프로필 번호 — NOT NULL
- 생성일자 (created_at) — datetime
- 수정일자 (modified_at) — datetime
- 내용아이디 (content_id) — NOUTNULL
- 내용타입 (content_type) — meets, meets_review, user_board, user_board_comment