todo-api 2025

Tables (3)

Follow (팔로우)

  • follower_id (팔로우 하는 유저) — bigint — Foreign key → User.user_id — NOT NULL
  • following_id (팔로우 당하는 유저) — bigint — Foreign key → User.user_id — NOT NULL

Todo (할 일)

  • todo_id (할 일 아이디) — bigint — Primary key — NOT NULL
  • toto_content (할 일 내용) — varchar(200)
  • todo_is_checked (할 일 체크 여부) — tinyint(1)
  • user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL

User (유저)

  • user_id (유저 아이디) — bigint — Primary key — NOT NULL
  • user_email (유저 이메일) — varchar(30)
  • user_password (유저 비밀번호)