everytime

Tables (15)

Board (board)

  • 게시판 식별번호 (board_id) — NOT NULL — Primary key — NOT NULL
  • 학교 식별번호 (school_id) — NOT NULL — Foreign key → School.학교 식별번호 — NOT NULL
  • 게시판 이름 (name) — NOT NULL
  • 게시판 설명 (description) — NOT NULL
  • 익명 허용 여부 (allow_anony) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

Comment (comment)

  • 댓글 식별 번호 (comment_id) — NOT NULL — Primary key — NOT NULL
  • 게시글 식별번호 (post_id) — NOT NULL — Foreign key → Post.게시글 식별번호 — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 댓글 내용 (content) — NOT NULL
  • 삭제 여부 (is_delete) — NOT NULL
  • 공감수 (like_number) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

CommentLike (comment_like)

  • 댓글 공감 식별번호 (comment_like_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 댓글 식별 번호 (comment_id) — NOT NULL — Foreign key → Comment.댓글 식별 번호 — NOT NULL

CommentReply (comment_reply)

  • 대댓글 식별번호 (comment_reply_id) — NOT NULL — Primary key — NOT NULL
  • 댓글 식별 번호 (comment_id) — NOT NULL — Foreign key → Comment.댓글 식별 번호 — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 대댓글 내용 (content) — NOT NULL
  • 공감수 (like_number) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

CommentReplyLike (comment_reply_like)

  • 대댓글 식별번호 (comment_reply_like_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 대댓글 식별번호 (comment_reply_id) — NOT NULL — Foreign key → CommentReply.대댓글 식별번호 — NOT NULL

Course (course_info)

  • 강의 식별번호 (course_info_id) — NOT NULL — Primary key — NOT NULL
  • 강의 이름 (title) — NOT NULL
  • 담당 교수 (professor) — NOT NULL
  • 학점 (credit) — NOT NULL
  • 시수 (hours) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

CourseDetail (course_detail)

  • 과목 세부사항 식별번호 (course_id) — NOT NULL — Primary key — NOT NULL
  • 강의 식별번호 (course_info_id) — NOT NULL — Foreign key → Course.강의 식별번호 — NOT NULL
  • 학수번호 (course_code) — NOT NULL
  • 강의 요일 (day) — NOT NULL
  • 강의 시작 교시 (time) — NOT NULL
  • 강의 시간 (hours) — NOT NULL
  • 강의 교실 (classroom) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

Friend (friend)

  • 친구 식별번호 (friend_id) — NOT NULL — Primary key — NOT NULL
  • 요청 보낸 유저 (from_user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 요청 받은 유저 (to_user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 요청 수락 여부 (is_accepted) — NOT NULL

Post (post)

  • 게시글 식별번호 (post_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 게시판 식별번호 (board_id) — NOT NULL — Foreign key → Board.게시판 식별번호 — NOT NULL
  • 게시글 제목 (title) — NOT NULL
  • 게시글 내용 (content) — NOT NULL
  • 공감수 (like_number) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

PostLike (post_like)

  • 게시글 공감 식별번호 (like_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 게시글 식별번호 (post_id) — NOT NULL — Foreign key → Post.게시글 식별번호 — NOT NULL

School (school)

  • 학교 식별번호 (school_id) — NOT NULL — Primary key — NOT NULL
  • 학교 이름 (name) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

Scrap (scrap)

  • 스크랩 식별번호 (scrap_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 게시글 식별번호 (post_id) — NOT NULL — Foreign key → Post.게시글 식별번호 — NOT NULL

Timetable (timetable)

  • 시간표 식별번호 (timetable_id) — NOT NULL — Primary key — NOT NULL
  • 유저 식별번호 (user_id) — NOT NULL — Foreign key → User.유저 식별번호 — NOT NULL
  • 시간표 이름 (name) — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

TimetableCourse (timetable_course)

  • 강의 추가 식별번호 (add_course_id) — NOT NULL — Primary key — NOT NULL
  • 시간표 식별번호 (timetable_id) — NOT NULL — Foreign key → Timetable.시간표 식별번호 — NOT NULL
  • 과목 세부사항 식별번호 (course_id2) — NOT NULL — Foreign key → CourseDetail.과목 세부사항 식별번호 — NOT NULL
  • 생성 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL

User (user)

  • 유저 식별번호 (user_id) — NOT NULL — Primary key — NOT NULL
  • 학교 식별번호 (school_id) — NOT NULL — Foreign key → School.학교 식별번호 — NOT NULL
  • 비밀번호 (password) — NOT NULL
  • 마지막 로그인 시간 (last_login) — NOT NULL
  • 슈퍼 유저 여부 (is_superuser) — NOT NULL
  • 유저 아이디 (username) — NOT NULL
  • 유저 성 (first_name) — NOT NULL
  • 유저 이름 (last_name) — NOT NULL
  • 이메일 (email) — NOT NULL
  • 스태프 여부 (is_staff) — NOT NULL
  • 활성화 여부 (is_active) — NOT NULL
  • 생성 시간 (date_joined) — NOT NULL
  • 가입 시간 (created_at) — NOT NULL
  • 수정 시간 (modified_at) — NOT NULL
  • 닉네임 (nickname) — NOT NULL
  • 그룹 (group) — NOT NULL