gridge_test

테이블 (11)

Account (Untitled)

  • accountID — int — 기본 키 — NOT NULL — 계정의 ID
  • name — String — 이름
  • username — String — 사용자 이름
  • phoneNumber — String — 전화번호
  • password — String — 비밀번호
  • birthday — String — 생일
  • website — String — NOT NULL — 웹사이트
  • introduce — String — NOT NULL — 소개
  • lastNameChange — TIMESTAMP — 마지막 이름 변경일시
  • lastUsernameChange — TIMESTAMP — 마지막 사용자이름 변경일시
  • createdAt — TIMESTAMP — 생성일시
  • updatedAt — TIMESTAMP — 최종 업데이트 일시
  • status — char — 계정의 상태 1. 정상 2. 휴면 3. 제거됨
  • isPrivate — bool — 비공개여부

CRUD로그 (Untitled8)

  • ID (Key) — 기본 키 — NOT NULL
  • 사용자ID (Field)
  • 날짜 (Field2)

Comment (Untitled3)

  • commentID — int — 기본 키 — NOT NULL — 댓글 ID
  • postID — int — 댓글달린 게시물 ID
  • accountID — int — 쓴사람 계정 ID
  • comment — string — 댓글 내용
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

CommentLike (Untitled9)

  • commentLikeID — int — 기본 키 — NOT NULL — 좋아요 ID
  • accountID — int — 좋아요 한 사람의 ID
  • status — char — 좋아요 상태 1. 좋아요 2. 취소함
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

CommentReport (CopyOf신고)

  • commentReportID — string — 기본 키 — NOT NULL — 댓글 신고 ID
  • commentID — int
  • accountID — int
  • reason — string — 신고사유
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

DM (Untitled4)

  • DMID — int — 기본 키 — NOT NULL — 챗ID
  • accountID — int — 보내는쪽 계정ID
  • targetaccountID — int — 받는쪽 계정 ID
  • DM — string — 챗 내용
  • createdAt — TIMESTAMP — 생성일시
  • updatedAt — TIMESTAMP — 업데이트일시

Follow (Untitled7)

  • followID — int — 기본 키 — NOT NULL — 팔로우 구분 ID
  • followerID (Field) — int — 팔로우 하는사람 ID
  • targetID — int — 팔로우 받는사람 ID
  • accept — bool — 수락여부
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

Post (Untitled2)

  • postID — int — 기본 키 — NOT NULL — 게시물의 ID
  • text — String — 본문
  • createdAt — TIMESTAMP — 생성일시
  • updatedAt — TIMESTAMP

PostLike (Untitled6)

  • postLikeID — int — 기본 키 — NOT NULL — 게시물 좋아요 ID
  • accountID — int — 좋아요 한 계정의 ID
  • status — char — 좋아요 상태 1. 좋아요 표시 2. 좋아요 취소됨
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

PostPhoto (Untitled5)

  • photoID — int — 기본 키 — NOT NULL — 게시물 사진의 ID
  • postID — int — 소속 게시물의 ID
  • photoURL — String — 사진 자원 위치
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP

PostReport (신고)

  • postReportID — int — 기본 키 — NOT NULL — 게시물신고ID
  • postID — int
  • accountID — int
  • reason — string — 신고사유
  • createdAt — TIMESTAMP
  • updatedAt — TIMESTAMP