UMC_WEEK01_PRACTICE
Tables (9)
alarm (Untitled5)
- 알람 아이디 (alarm_id) — auto_increment — Primary key — NOT NULL
- 공지관련 알림 허용여부 (alarm_notice)
- 책 반납 시간 알림 허용여부 (alarm_rental)
- 마케팅 알림 허용여부 (alarm_marketing)
- 회원 아이디 (user_id) — auto_increment — Foreign key → users.회원 아이디 — NOT NULL
book (Untitled2)
- 책 아이디 (book_id) — auto_increment — Primary key — NOT NULL
- 제목 (title)
- 설명 (description)
- 대여 가능 여부 (is_available)
- 회원 아이디 (user_id) — Foreign key → users.회원 아이디 — NOT NULL
- 카테고리 아이디 (category_id) — Foreign key → category.카테고리 아이디 — NOT NULL
book_like (Untitled6)
- 좋아요 아이디 (like_id) — auto_increment — Primary key — NOT NULL
- 회원 아이디 (user_id) — auto_increment — Foreign key → users.회원 아이디 — NOT NULL
- 책 아이디 (book_id) — auto_increment — Foreign key → book.책 아이디 — NOT NULL
book_tag (Untitled9)
- 책 아이디 (book_id) — auto_increment — Foreign key → book.책 아이디 — NOT NULL
- 태그 아이디 (tag_id) — auto_increment — Foreign key → tag.태그 아이디 — NOT NULL
category (Untitled3)
- 카테고리 아이디 (category_id) — auto_increment — Primary key — NOT NULL
- 카테고리 이름 (name) — not null
rental (Untitled8)
- 대여 아이디 (rental_id) — auto_increment — Primary key — NOT NULL
- 회원 아이디 (user_id) — Foreign key → users.회원 아이디 — NOT NULL
- 책 아이디 (book_id) — Foreign key → book.책 아이디 — NOT NULL
- 대여 시작 날짜 (rented_at)
- 대여 만료 날짜 (due_at)
- 반납 일자 (returned_at)
social_users (Untitled7)
- 소셜 아이디 (social_id) — auto_increment — Primary key — NOT NULL
- 제공자 아이디 (provider_id) — auto_increment
- 제공자 (provider) — not null
- 회원 아이디 (user_id) — Foreign key → users.회원 아이디 — NOT NULL
tag (Untitled4)
- 태그 아이디 (tag_id) — auto_increment — Primary key — NOT NULL
- 제목 (title)
- 태그 이름 (name) — not null
users (Untitled)
- 회원 아이디 (user_id) — auto_increment — Primary key — NOT NULL
- 이름 (name) — not null
- 닉네임 (nickname) — not null
- 전화번호 (phone_number) — not null
- 성별 (gender)
- 생성일자 (created_at)
- 수정일자 (updated_at)
- 삭제일자 (deleted_at)