umc9th
Tables (9)
book (Untitled2)
- id (Key) — bigint — Primary key — NOT NULL
- book_category_id (Key2) — bigint — Foreign key → book_category.id — NOT NULL
- name (Field) — varchar(40)
- description (Field2) — text
- created_at (Field3) — datetime(6)
- updated_at (Field4) — datetime(6)
book_category (Untitled)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
book_hash_tag (Untitled5)
- id (Key) — bigint — Primary key — NOT NULL
- book_id (Key2) — bigint — Foreign key → book.id — NOT NULL
- hash_tag_id (Key3) — bigint — Foreign key → hash_tag.id — NOT NULL
book_likes (Untitled7)
- id (Key) — bigint — Primary key — NOT NULL
- book_id (Key3) — bigint — Foreign key → book.id — NOT NULL
- member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- created_at (Field) — datetime(6)
- updated_at (Field2) — datetime(6)
hash_tag (Untitled6)
- id (Key) — bigint — Primary key — NOT NULL
- name (Field) — varchar(20)
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
marketing_alarm (CopyOfUntitled8)
- id (Key) — bigint — Primary key — NOT NULL
- user_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- is_confirmed (Field) — boolean
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
- title (Field5) — varchar(30)
- body (Field6) — text
member (Untitled3)
- id (Key) — bigint — Primary key — NOT NULL
- phone_num (Field4) — varchar(15)
- name (Field) — varchar(10)
- nickname (Field2) — varchar(20)
- gender (Field3) — varchar(10)
- created_at (Field5) — datetime(6)
- updated_at (Field6) — datetime(6)
- status (Field7) — varchar(15)
- inactive_date (Field8) — datetime
notice_alarm (Untitled8)
- id (Key) — bigint — Primary key — NOT NULL
- user_id (Key2) — bigint — Foreign key → member.id — NOT NULL
- is_confirmed (Field) — boolean
- created_at (Field2) — datetime(6)
- updated_at (Field3) — datetime(6)
- title (Field5) — varchar(30)
- body (Field6) — text
rent (Untitled4)
- id (Key) — bigint — Primary key — NOT NULL
- book_id (Key2) — bigint — Foreign key → book.id — NOT NULL
- member_id (Key3) — bigint — Foreign key → member.id — NOT NULL
- created_at (Field) — datetime(6)
- updated_at (Field2) — datetime(6)