1

Tables (7)

Book_Category (Untitled)

  • id (Key) — bigint — Primary key — NOT NULL
  • name (Field) — Type
  • create_at (Field2) — datetime(6)
  • update_at (Field3) — datetime(6)

book (Untitled2)

  • id (Key) — bigint — Primary key — NOT NULL
  • book_category_id (Key2) — bigint — Foreign key → Book_Category.id — NOT NULL
  • name (Field2) — varchar(20)
  • description (Field) — text
  • created_at (Field3) — datetime(6)
  • update_at (Field4) — datetime(6)

book_hash_tag (Untitled3)

  • 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 (Untitled5)

  • id (Key) — bigint — Primary key — NOT NULL
  • book_id (Key2) — bigint — Foreign key → book.id — NOT NULL
  • id (Key3) — bigint — Foreign key → member.id — NOT NULL
  • created_at (Field) — datetime(6)
  • update_at (Field2) — datetime(6)

hash_tag (Untitled4)

  • id (Key) — bigint — Primary key — NOT NULL
  • name (Field) — varchar(20)
  • created_at (Field2) — datetime(6)
  • updated_at (Field3) — datetime(6)

member (Untitled7)

  • id (Key) — bigint — Primary key — NOT NULL
  • phone_num (Field) — varchar(20)
  • name (Field2) — varchar(20)
  • niclkname (Field3) — varchar(20)
  • gender (Field4) — varchar(20)
  • created_at (Field5) — datetime(6)
  • update_at (Field6) — datetime(6)
  • status (Field7) — varchar(15)
  • inactive_date (Field8) — datetime

rent (Untitled6)

  • id (Key) — bigint — Primary key — NOT NULL
  • member_id (Key2) — bigint — Foreign key → member.id — NOT NULL
  • book_id (Key3) — bigint — Foreign key → book.id — NOT NULL
  • created_at (Field) — datetime(6)
  • update_at (Field2) — datetime(6)