todo api

Tables (3)

Follow (팔로우)

  • follow_id (팔로우 아이디) — bigint — Primary key — NOT NULL
  • follower_id (팔로워 아이디) — bigint
  • followee_id (팔로잉 아이디) — bigint
  • user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL

Todo (할 일)

  • todo_id (할 일 아이디) — bigint — Primary key — NOT NULL
  • todo_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 (유저 비밀번호) — varchar(30)