hireup - 2025-02-19 18:09:59

Tables (9)

Category (카테고리)

  • id — NOTNULL — Primary key — NOT NULL
  • 이름 (name) — NOT NULL
  • 공지사항여부 (isNotice) — NOT NULL

Comment (댓글)

  • id — NOTNULL — Primary key — NOT NULL
  • 댓글내용 (content) — NOT NULL
  • 작성일시 (createdAt) — NOT NULL
  • 수정일시 (updatedAt) — NULL
  • 사용자id (user_id) — NOTNULL — Foreign key — NOT NULL
  • 게시글id (post_id) — NOTNULL — Foreign key — NOT NULL

Follow (팔로우)

  • id — NOTNULL — Primary key — NOT NULL
  • 팔로워 id (follower_id) — NOTNULL — Foreign key — NOT NULL
  • 팔로잉id (following_id) — NOTNULL — Foreign key — NOT NULL

Like (좋아요)

  • id — NOTNULL — Primary key — NOT NULL
  • 사용자id (user_id) — NOTNULL — Foreign key — NOT NULL
  • 게시글id (post_id) — NOTNULL — Foreign key — NOT NULL

Notification (알림)

  • id — NOTNULL — Primary key — NOT NULL
  • 내용 (message) — NOT NULL
  • 알림 일시 (createdAt) — NOT NULL
  • 수신자 (user_id) — NOTNULL — Foreign key — NOT NULL

Post (게시글)

  • id — NOTNULL — Primary key — NOT NULL
  • 제목 (title) — NOT NULL
  • 내용 (content) — NOT NULL
  • 상태 (status) — NOT NULL
  • 생성일시 (createdAt) — NOT NULL
  • 수정일시 (modifiedAt) — NULL
  • 해시태그 (hashtags) — NULL
  • 유저id (user_id) — NOTNULL — Foreign key — NOT NULL
  • 카테고리id (category_id) — NOTNULL — Foreign key — NOT NULL

Report (신고)

  • id — NOTNULL — Primary key — NOT NULL
  • 신고 사유 (reason) — NOT NULL
  • 신고 일시 (reportedAt) — NOT NULL
  • 신고한 유저 id (user_id) — NOTNULL — Foreign key — NOT NULL
  • 신고한 게시글 id (post_id) — NOTNULL — Foreign key — NOT NULL

User (유저)

  • id — NOTNULL — Primary key — NOT NULL
  • 이메일 (email) — NOT NULL
  • 이름 (name) — NOT NULL
  • 비밀번호 (password) — NOT NULL
  • 인증코드 (code) — NULL
  • 인증여부 (isVerified) — NOT NULL
  • 유저상태 (status) — NOT NULL
  • 관리자 여부 (isAdmin) — NOT NULL
  • 가입 일자 (createdAt) — NOT NULL

Weather (날씨)

  • 일시 (id) — NOT NULL — Primary key — NOT NULL
  • 날씨 (weather) — NOT NULL
  • 아이콘 (icon) — NOT NULL
  • 온도 (temperature) — NOTNULL
  • 설명 (description) — NOT NULL