Todos

Tables (6)

friend_request (Untitled2)

  • 요청번호 (id) — int — Primary key — NOT NULL
  • 상태값 (status) — varchar(20)
  • 받는사람 (to_user_id) — int auto_increment — Foreign key → user.아이디 — NOT NULL
  • 보낸사람 (from_user_id) — int auto_increment — Foreign key → user.아이디 — NOT NULL

shared_todo (Untitled5)

  • 공유항목번호 (id) — int auto_increment — Primary key — NOT NULL
  • 내용 (content) — varchar(255)
  • 생성날짜 (created_at) — datetime
  • 날짜 (date) — date
  • 생성인 (created_by) — int auto_increment — Foreign key → user.아이디 — NOT NULL
  • 담당자 (assigned_to) — int auto_increment — Foreign key → user.아이디 — NOT NULL
  • 공유폴더번호 (shared_list_id) — int auto_increment — Foreign key → shared_todo_list.공유폴더번호 — NOT NULL

shared_todo_completion (Untitled6)

  • 공유할일번호 (id) — int auto_increment — Primary key — NOT NULL
  • 완료여부 (completed) — tinyint(1)
  • 완료날짜 (completed_at) — datetime
  • 아이디 (user_id) — int auto_increment — Foreign key → user.아이디 — NOT NULL
  • 공유항목번호 (shared_todo_id) — int auto_increment — Foreign key → shared_todo.공유항목번호 — NOT NULL

shared_todo_list (Untitled4)

  • 공유폴더번호 (id) — int auto_increment — Primary key — NOT NULL
  • 생성날짜 (created_at) — datetime
  • 제목 (title) — varchar(100)
  • 생성인 (created_by) — int auto_increment — Foreign key → user.아이디 — NOT NULL
  • 공유된사람 (shared_with) — int auto_increment — Foreign key → user.아이디 — NOT NULL

todo (Untitled3)

  • 할일번호 (id) — int — Primary key — NOT NULL
  • 완료여부 (completed) — tinyint(1)
  • 내용 (content) — varchar(255)
  • 날짜 (date) — date
  • 아이디 (user_id) — int auto_increment — Foreign key → user.아이디 — NOT NULL

user (Untitled)

  • 아이디 (id) — int auto_increment — Primary key — NOT NULL
  • 이메일 (email) — varchar(255)
  • 별명 (nickname) — varchar(50)
  • 비밀번호 (password) — varchar(255)
  • 이름 (username) — varchar(50)