booklog
Tables (14)
author (Untitled3)
- 작가 아이디 (author_id) — bigint — Primary key — NOT NULL
- 작가명 (name) — varchar(100)
book (Untitled2)
- 책 아이디 (book_id) — bigint — Primary key — NOT NULL
- 제목 (title) — varchar(200)
- ISBN (isbn) — varchar(20)
- 출판사 (publisher) — varchar(100)
- 출판연도 (published_year) — int
- 표지 (cover_image) — varchar(255)
- 생성일 (created_at) — datetime
- 삭제일 (deleted_at) — datetime
book_author (Untitled4)
- 책작가 아이디 (book_autor_id) — bigint — Primary key — NOT NULL
- 책 아이디 (book_id) — bigint — Foreign key → book.책 아이디 — NOT NULL
- 작가 아이디 (author_id) — bigint — Foreign key → author.작가 아이디 — NOT NULL
booklog_post (Untitled12)
- 게시물 아이디 (post_id) — bigint — Primary key — NOT NULL
- 책 아이디 (book_id) — bigint — Foreign key → book.책 아이디 — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 본문 (content) — text
- 상태 (status) — enum
- 게시시각 (published_at) — datetime
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
- 삭제일 (deleted_at) — datetime
post_comment (Untitled15)
- 댓글 아이디 (comment_id) — bigint — Primary key — NOT NULL
- 게시물 아이디 (post_id) — bigint — Foreign key → booklog_post.게시물 아이디 — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 내용 (comment) — varchar(500)
- 생성일 (created_at) — datetime
- 삭제일 (deleted_at) — datetime
post_reaction (Untitled13)
- 반응 아이디 (reaction_id) — bigint — Primary key — NOT NULL
- 게시물 아이디 (post_id) — bigint — Foreign key → booklog_post.게시물 아이디 — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 타입 (type) — enum
- 생성일 (created_at) — datetime
reading_record (Untitled5)
- 기록 아이디 (record_id) — bigint — Primary key — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 책 아이디 (book_id) — bigint — Foreign key → book.책 아이디 — NOT NULL
- 상태 (status) — enum
- 감상 텍스트 (content) — text
- 진행률 (progress) — int
- 공개여부 (is_public) — bit
- 시작일 (started_at) — date
- 완독일 (finished_at) — date
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
record_tag (Untitled7)
- 기록태그 아이디 (record_tag_id) — bigint — Primary key — NOT NULL
- 기록 아이디 (record_id) — bigint — Foreign key → reading_record.기록 아이디 — NOT NULL
- 태그 아이디 (tag_id2) — bigint — Foreign key → tag.태그 아이디 — NOT NULL
- 생성일 (created_at) — datetime
tag (Untitled6)
- 태그 아이디 (tag_id) — bigint — Primary key — NOT NULL
- 태그명 (name) — varchar(100)
- 생성일 (created_at) — datetime
term (Untitled9)
- 약관id (term_id) — bigint — Primary key — NOT NULL
- 약관명 (name) — enum
- 필수여부 (is_required) — bit
user (Untitled)
- 유저 아이디 (user_id) — bigint — Primary key — NOT NULL
- 이메일 (email) — varchar(100) — NOT NULL
- 프로필이미지 (profile_image) — varchar(100)
- 닉네임 (nickname) — varchar — NOT NULL
- 가입일 (created_at) — datetime
- 삭제일 (deleted_at) — datetime
- 수정일 (updated_at) — datetime
user_auth (Untitled8)
- 인증 아이디 (auth_id) — bigint — Primary key — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 소셜타입 (social_type) — enum
- 소셜UID (social_uid) — varchar(100)
- 생성일 (created_at) — datetime
user_profile (Untitled11)
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 이름 (name) — varchar(30)
- 생년월일 (birth_date) — date
- 성별 (gender) — enum
- 전화번호 (phone_number) — varchar(20)
- 생성일 (created_at) — datetime
- 수정일 (updated_at) — datetime
user_term (Untitled10)
- 유저약관 아이디 (user_term_id) — bigint — Primary key — NOT NULL
- 약관id (term_id2) — bigint — Foreign key → term.약관id — NOT NULL
- 유저 아이디 (user_id) — bigint — Foreign key → user.유저 아이디 — NOT NULL
- 동의시간 (agreed_at) — datetime