We Save

Tables (10)

advertisement (Untitled5)

  • 광고아이디 (adID) — int — Primary key — NOT NULL
  • 광고내용 (adContent) — text
  • 광고이미지 (adURL) — text

alarm (Untitled10)

  • 알람아이디 (alarmID) — int — Primary key — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → user.유저아이디 — NOT NULL
  • 빈페이지여부 (blankPage) — boolean
  • 알람유형 (type) — enum
  • 알람내용 (alarmContent) — text
  • 읽음여부 (isReaded) — boolean

blocked_user (Untitled9)

  • 차단유저아이디 (blockUserID) — int — Primary key — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → user.유저아이디 — NOT NULL
  • 차단여부 (isBlocked) — boolean

comment (Untitled2)

  • 댓글아이디 (commentID) — int — Primary key — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → user.유저아이디 — NOT NULL
  • 게시글아이디 (postID) — int — Foreign key → post.게시글아이디 — NOT NULL
  • 댓글내용 (commentContent) — text
  • 댓글이미지 (imageURL) — text
  • 생성 (createdAt) — datetime
  • 업데이트 (updatedAt) — datetime

disaster (Untitled6)

  • 재난아이디 (disasterID) — int — Primary key — NOT NULL
  • 재난이름 (disasterName) — varchar

information (Untitled8)

  • 정보아이디 (infoID) — int — Primary key — NOT NULL
  • 정보내용 (infoContent) — text
  • 정보기타 (infoEtc) — text

interest_area (Untitled7)

  • 관심지역아이디 (areaID) — int — Primary key — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → user.유저아이디 — NOT NULL
  • 관심지역위치 (interestLocation) — varchar

post (Untitled3)

  • 게시글아이디 (postID) — int — Primary key — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → user.유저아이디 — NOT NULL
  • 댓글아이디 (commentID) — int — Foreign key → comment.댓글아이디 — NOT NULL
  • 재난아이디 (disasterID) — int — Foreign key → disaster.재난아이디 — NOT NULL
  • 제목 (title) — varchar
  • 게시글내용 (postContent) — text
  • 게시글이미지 (postURL) — text
  • 위치 (location) — varchar
  • 댓글알람여부 (commentAlarm) — boolean
  • 상황종료 (closed) — boolean
  • 생성 (createdAt) — datetime
  • 업데이트 (updatedAt) — datetime

reaction_button (Untitled4)

  • 확인버튼아이디 (checkBtnID) — int — Primary key — NOT NULL
  • 허위버튼아이디 (untrueBtnID) — int — Primary key — NOT NULL
  • 게시글아이디 (postID) — int — Foreign key → post.게시글아이디 — NOT NULL
  • 유저아이디 (userID) — int — Foreign key → post.유저아이디 — NOT NULL
  • 댓글아이디 (commentID) — int — Foreign key → post.댓글아이디 — NOT NULL
  • 재난아이디 (disasterID) — int — Foreign key → post.재난아이디 — NOT NULL
  • 확인개수 (checkCount) — int
  • 허위개수 (untrueCount) — int
  • 생성 (createdAt) — datetime
  • 업데이트 (updatedAt) — datetime

user (Untitled)

  • 유저아이디 (userID) — int — Primary key — NOT NULL
  • 전화번호 (phoneNumber) — int
  • 비밀번호 (passwd) — varchar
  • 이름 (userName) — varchar
  • 생성 (createdAt) — datetime
  • 업데이트 (updatedAt) — datetime