dev-course

Tables (5)

Member (회원)

  • 회원아이디 (member_id) — bigint(11) — Primary key — NOT NULL
  • 이름 (name) — varchar(10)
  • 이메일 (email) — varchar(10)
  • 비밀번호 (password) — bigint(20)
  • 연락처 (phone) — bigint(20)

Order (주문)

  • 주문아이디 (order_id) — bigint(11) — Primary key — NOT NULL
  • 회원아이디 (member_id) — bigint(11) — Foreign key → Member.회원아이디 — NOT NULL
  • 공연아이디 (show_id) — bigint(11) — Foreign key → Show.공연아이디 — NOT NULL
  • 주문수량 (order_quantity) — bigint(10)
  • 총 주문금액 (total_order_price) — bigint(10)
  • 주문날짜 (order_date) — timestamp

Order_History (주문내역)

  • 주문내역아이디 (order_history_id) — bigint(11) — Primary key — NOT NULL
  • 주문아이디 (order_id) — bigint(11) — Foreign key → Order.주문아이디 — NOT NULL
  • 총 주문금액 (total_order_price) — bigint(10)
  • 주문날짜 (order_date) — timestamp
  • 주문수량 (order_quanitity) — bigint(10)
  • 주문변경날짜 (order_update_date) — timestamp

Show (공연)

  • 공연아이디 (show_id) — bigint(11) — Primary key — NOT NULL
  • 공연명 (show_name) — varchar(10)
  • 공연날짜 (show_date) — timestamp
  • 공연가격 (show_price) — bigint(10)
  • 공연소개 (show_description) — varchar(25)

Show_image (공연이미지)

  • 공연이미지아이디 (show_image_id) — bigint(11) — Primary key — NOT NULL
  • 공연아이디 (show_id) — bigint(11) — Foreign key → Show.공연아이디 — NOT NULL
  • 이미지 경로 (show_image_path) — varcar(200)
  • 생성시간 (create_time) — timestample
  • 수정시간 (update_time) — timestamp