test

Tables (10)

Copy Of Untitled (book_category)

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

Untitled (member)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (name) — varchar(20)
  • Field (phone_num) — varchar(20)
  • Field (nickname) — varchar(20)
  • Field (gender) — varchar(20)
  • Field (created_at) — datetime(6)
  • Field2 (updated_at) — datetime(6)
  • Field (status) — varchar(15)
  • Field (inactive_data) — datetime

Untitled (rent)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field2 (created_at) — datetime(6)
  • Field4 (updated_at) — datetime(6)
  • Key (book_id) — bigint — Foreign key → Untitled.Key — NOT NULL
  • Key (member_id) — bigint — Foreign key → Untitled.Key — NOT NULL

Untitled (book_likes)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Key (book_id) — bigint — Foreign key → Untitled.Key — NOT NULL
  • Key (member_id) — bigint — Foreign key → Untitled.Key — NOT NULL

Untitled (book)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (name) — varchar(40)
  • Field (description) — text
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • id (book_category_id) — bigint — Foreign key → Copy Of Untitled.id — NOT NULL

Untitled (book_hash_tag)

  • Key (id) — bigint — Primary key — NOT NULL
  • Key (hash_tag_id) — bigint — Foreign key → Untitled2.Key — NOT NULL
  • Key (book_id) — bigint — Foreign key → Untitled.Key — NOT NULL

Untitled (alarm)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (is_confirmed) — boolean
  • Field (created_at) — datetime(6)
  • Field (updated_at) — datetime(6)
  • Key (member_id) — bigint — Foreign key → Untitled.Key — NOT NULL

Untitled (notice)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (title) — varchar(20)
  • Field (body) — text
  • Key (alarm_id) — bigint — Foreign key → Untitled.Key — NOT NULL

Untitled2 (hash_tag)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (name)
  • Field (created_at)
  • Field (updated_at)

Untitled2 (marketing)

  • Key (id) — bigint — Primary key — NOT NULL
  • Field (title) — varchar(20)
  • Field (body) — text
  • Key (alarm_id) — bigint — Foreign key → Untitled.Key — NOT NULL