밸런스 게임
테이블 (4)
Comment
- Key (comment_id) — Long — 기본 키 — NOT NULL — autoincreament
- Key (user_id) — Long — 외래 키 → User.Key — NOT NULL — 유저 정보
- Key (game_id) — Long — 외래 키 → Game.Key — NOT NULL — 게임 정보
- Field1 (content) — String — NOT NULL — 댓글 수정
- Field2 (createdAt, updateAt) — LocalDate — NOT NULL — 댓글 작성 시간, 수정 시간
Game
- Key (game_id) — Long — 기본 키 — NOT NULL — autoincreament
- Field1 (title) — String — NOT NULL — 밸런스 게임 제목
- Field2 (content1) — String — NOT NULL — 밸런스 게임 선택지1
- Field3 (content2) — String — NOT NULL — 밸런스 게임 선택지 2
- Field4 (image1) — String — NOT NULL — 선택지 1 이미지
- Field5 (image2) — String — NOT NULL — 선택지 2 이미지
- Field6 (createdAt, updatedAt) — LocalDate — NOT NULL — 게임 생성 및 수정 시간
Like
- Key (like_id) — Long — 기본 키 — NOT NULL — autoincreament
- Key (user_id) — Long — 외래 키 → User.Key — NOT NULL — 유저 정보
- Key (comment_id) — Long — 외래 키 → Comment.Key — NOT NULL — 댓글 정보
- Key (game_id) — Long — 외래 키 → Game.Key — NOT NULL — 게임 정보
- Field (likeType) — String — 좋아요 여부(게임, 댓글)
User
- Key (user_id) — Long — 기본 키 — NOT NULL — autoincreament
- Field1 (email) — String — NOT NULL — 로그인 시 아이디
- Field2 (password) — String — NOT NULL — 로그인 시 비밀번호
- Field3 (username) — String — NOT NULL — 유저 이름