ilgilog
Tables (4)
Diary (다이어리)
- diaryId (일기 아이디) — int — Primary key — NOT NULL
- title (일기 제목) — VARCHAR(50)
- content (일기 내용) — VARCHAR(2000)
- date (작성일) — Date
- weather (날씨) — int
- mood (감정) — int
- userId (유저 아이디) — int — Foreign key → User.userId — NOT NULL
Minime (미니미)
- minimeId (미니미 아이디) — int — Primary key — NOT NULL
- minimeUrl (미니미 이미지 url) — VARCHAR(100)
- userId (유저 아이디2) — int — Foreign key → User.userId — NOT NULL
Objet (오브제)
- objetId (오브제 아이디) — int — Primary key — NOT NULL
- objetPosition (오브제 위치값) — int
- objetIImageUrl (오브제 이미지 url) — VARCHAR(100)
- amount (오브제 가격) — int
- userId (유저 아이디) — int — Foreign key → User.userId — NOT NULL
User (유저)
- userId (유저 아이디) — int — Primary key — NOT NULL
- email (이메일) — VARCHAR(50)
- nickName (닉네임) — VARCHAR(50) — NOT NULL
- point (포인트) — int
- accumulatePoint (누적 포인트) — int
- objetList (구입한 오브제) — VARCHAR(500)
- like (좋아요) — int
- likeUsers (좋아요한 유저들)