read-bird
Tables (7)
Books (책정보)
- bookId (책 아이디) — int — Primary key — NOT NULL
- title (책 제목) — VARCHAR(50) — NOT NULL
- author (저자) — VARCHAR(50) — NOT NULL
- pubDate (출시일) — VARCHAR(50)
- description (설명) — VARCHAR(255) — NOT NULL
- isbn (책 고유번호) — int — NOT NULL
- coverImage (커버 이미지) — VARCHAR(255) — NOT NULL
- publisher (출판사) — VARCHAR(50) — NOT NULL
- totalPage (총 페이지) — int — NOT NULL
Characters (캐릭터)
- characterId (캐릭터 아이디) — int — Primary key — NOT NULL
- name (캐릭터 이름) — VARCHAR(50) — NOT NULL
- content (설명) — VARCHAR(255)
- imageUrl (캐릭터 이미지) — VARCHAR(255) — NOT NULL
Collections (컬렉션)
- collectionId (컬렉션 아이디) — int — Primary key — NOT NULL
- contents (수집된 캐릭터) — VARCHAR(255) — NOT NULL
- userId (유저 아이디) — int — Foreign key → Users.userId — NOT NULL
Plans (계획)
- planId (플랜 아이디) — int — Primary key — NOT NULL
- totalPage (총 페이지) — int — NOT NULL
- currentPage (현재 페이지) — int — NOT NULL
- status (진행 상태) — VARCHAR(50) — NOT NULL
- startDate (시작일) — Date — NOT NULL
- endDate (종료일) — Date — NOT NULL
- userId (유저 아이디) — int — Foreign key → Users.userId — NOT NULL
- bookId (책 아이디) — int — Foreign key → Books.bookId — NOT NULL
Records (기록)
- recordId (기록 아이디) — int — Primary key — NOT NULL
- status (상태) — VARCHAR(50) — NOT NULL
- createdAt (생성일) — Date — NOT NULL
- planId (플랜 아이디) — int — Foreign key → Plans.planId — NOT NULL
- userId (유저 아이디) — int — Foreign key → Users.userId — NOT NULL
Refresh_redis (토큰)
- tokenId (토큰 아이디) — int — Primary key — NOT NULL
- content (JWTString) — VARCHAR(255) — NOT NULL
- userId (유저 아이디) — int — NOT NULL
- validTime (유효 시간) — TimeStamp — NOT NULL
Users (회원)
- userId (유저 아이디) — int — Primary key — NOT NULL
- email (이메일) — VARCHAR(50) — NOT NULL
- nickName (닉네임) — VARCHAR(50) — NOT NULL
- imageUrl (프로필 이미지) — VARCHAR(255)