us

Tables (13)

Answers (답변)

  • 답변 아이디 (ans_id) — NOT NULL — Primary key — NOT NULL
  • 질문 아이디 (q_id2) — NOT NULL — Foreign key → Question.질문 아이디 — NOT NULL
  • 답변 내용 (ans_content) — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL

Checklist (체크리스트)

  • 체크아이디 (chedk_id) — NOT NULL — Primary key — NOT NULL
  • 할 일 목록 (todolist) — NOT NULL
  • 완료 여부 (status) — NOT NULL
  • 게시판 아이디 (board_id) — NOT NULL — Foreign key → board_cate.게시판 아이디 — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL

Comment (댓글)

  • 댓글아이디 (comment_id) — NOTNULL — Primary key — NOT NULL
  • 내용 (comment_con) — NOT NULL
  • 생성 일시 (comment_created_at) — NOT NULL
  • 게시글번호 (idariy_id) — NOT NULL — Foreign key → diary.게시글번호 — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL
  • 수정 일시 (modifiedat) — NOT NULL

Copy Of Answers (CopyOf답변)

  • 답변 아이디 (ans_id) — NOT NULL — Primary key — NOT NULL
  • 답변 내용 (ans_content) — NOT NULL
  • 질문 번호 (q&a_id) — NOT NULL — Foreign key → q&a.질문 번호 — NOT NULL
  • auth_id — NOT NULL — Foreign key → auth.auth_id — NOT NULL

Friend (친구)

  • 친구관계 (firend_id) — NOT NULL — Primary key — NOT NULL
  • 구독자 (ssubcribe_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL
  • 구독당한사람 (target_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL

Question (오늘의 질문)

  • 질문 아이디 (q_id) — NOT NULL — Primary key — NOT NULL
  • 질문 내용 (q_content) — NOT NULL
  • 게시판 아이디 (board_id) — NOT NULL — Foreign key → board_cate.게시판 아이디 — NOT NULL

auth (관리자)

  • auth_id — NOT NULL — Primary key — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL

board_cate (카테고리)

  • 게시판 아이디 (board_id) — NOT NULL — Primary key — NOT NULL
  • 게시판 카테고리 (board_cate) — NOT NULL

diary (일기)

  • 게시글번호 (idariy_id) — NOT NULL — Primary key — NOT NULL
  • 게시판아이디 (board_id) — NOT NULL
  • 내용 (diary_content) — NOT NULL
  • 제목 (diary_title) — NOT NULL
  • 좋아요 수 (LIKE_number) — NOT NULL
  • 생성일시 (dia_created_At) — NOT NULL
  • 수정일시 (modified_at) — NOT NULL
  • 조회수 (view_count) — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL
  • 게시판 아이디 (board_id2) — NOT NULL — Foreign key → board_cate.게시판 아이디 — NOT NULL
  • 공개범위 (Visibility) — NOT NULL
  • 사진 (Post_photo) — NOT NULL

notification (알림)

  • 알림 (noti_id) — NOT NULL — Primary key — NOT NULL
  • 알림받을 사용자 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL
  • 댓글아이디 (comment_id) — NOTNULL — Foreign key → Comment.댓글아이디 — NOT NULL
  • 좋아요 아이디 (like_id) — NOT NULL — Foreign key → postLike.좋아요 아이디 — NOT NULL
  • 질문 번호 (q&a_id) — NOT NULL — Foreign key → q&a.질문 번호 — NOT NULL
  • 친구관계 (firend_id) — NOT NULL — Foreign key → Friend.친구관계 — NOT NULL
  • 읽음 여부 (id_read_at) — NOT NULL

postLike (좋아요)

  • 좋아요 아이디 (like_id) — NOT NULL — Primary key — NOT NULL
  • 좋아요를 남긴 사람아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL
  • 게시글번호 (idariy_id) — NOT NULL — Foreign key → diary.게시글번호 — NOT NULL

q&a (1:1)

  • 질문 번호 (q&a_id) — NOT NULL — Primary key — NOT NULL
  • 답변 완료 여부 (is_completed) — NOT NULL
  • 아이디 (user_id) — NOT NULL — Foreign key → user.아이디 — NOT NULL

user (회원)

  • 아이디 (user_id) — NOT NULL — Primary key — NOT NULL
  • 비밀번호 (user_pw) — NOT NULL
  • 이름 (Field) — NOT NULL
  • 닉네임 (user_name) — NOT NULL
  • 이메일 (user_email) — NOT NULL
  • 생년월일 (user_birth) — NOT NULL
  • 유저 성향 (type) — NOT NULL
  • 생성 시간 (user_created_At) — NOT NULL
  • 수정 시간 (user_modified_At) — NOT NULL
  • 신고 횟수 (ban_count)
  • 프로필사진 (Photo)