todo-api
Tables (5)
Follow (팔로우)
- follow_id (팔로우 관계 고유 아이디) — bigint — Primary key — NOT NULL
- follower_id (요청자) — bigint — Foreign key → Follower.follower_id — NOT NULL
- following_id (대상) — bigint — Foreign key → Following.following_id — NOT NULL
Follower (요청자)
- follower_id (요청자) — bigint — Primary key — NOT NULL
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
Following (대상)
- following_id (대상) — bigint — Primary key — NOT NULL
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
Todo (할 일)
- todo_id (할 일 아이디) — bigint — Primary key — NOT NULL
- todo_content (할 일 내용) — varchar()
- todo_is_checked (할 일 체크 여부) — tinyint(1)
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
User (유저)
- user_id (유저 아이디) — bigint — Primary key — NOT NULL
- user_password (유저 비밀번호) — varchar(30)
- user_email (유저 이메일) — varchar(30)
- user_name (유저 이름) — varchar(30) — NOT NULL