show

Tables (5)

Performance (Untitled2)

  • 공연 아이디 (Key) — int — Primary key — NOT NULL
  • 공연 제목 (Field) — varchar
  • 공연 설명 (Field2) — varchar
  • 공연 날짜 (Field3) — varchar
  • 공연 시간 (Field4) — varchar
  • 공연 장소 (Field5) — varchar
  • 카테고리 (Field6) — enum
  • 생성 시간 (Field7) — datetime
  • 수정 시간 (Field8) — datetime
  • 삭제 시간 (Field9) — datetime

Point (Untitled4)

  • 포인트 아이디 (Key) — int — Primary key — NOT NULL
  • 사용자 아이디 (Key2) — int — Foreign key → User.사용자 아이디 — NOT NULL
  • 잔액 (Field) — int

Reservation (Untitled5)

  • 예약 아이디 (Key) — int — Primary key — NOT NULL
  • 사용자 아이디 (Key2) — int — Foreign key → User.사용자 아이디 — NOT NULL
  • 좌석 아이디 (Key3) — int — Foreign key → Seat.좌석 아이디 — NOT NULL
  • 공연 아이디 (Key32) — int — Foreign key → Seat.공연 아이디 — NOT NULL
  • 생성시간 (Field) — datetime
  • 삭제 시간 (Field2) — datetime

Seat (Untitled3)

  • 좌석 아이디 (Key) — int — Primary key — NOT NULL
  • 공연 아이디 (Key3) — int — Foreign key → Performance.공연 아이디 — NOT NULL
  • 좌석 번호 (Field) — int
  • 좌석 등급 (Field2) — enum
  • 좌석 가격 (Field3) — int
  • 좌석 상태 (Field4) — boolean
  • 생성 시간 (Field5) — datetime
  • 수정 시간 (Field6) — datetime
  • 삭제 시간 (Field7) — datetime

User (Untitled)

  • 사용자 아이디 (Key) — int — Primary key — NOT NULL
  • 사용자 이름 (Field) — varchar
  • 사용자 이메일 (Field2) — varchar
  • 사용자 패스워드 (Field3) — varchar
  • 권한 (Field4) — enum
  • 생성날짜 (Field5) — datetime
  • 수정날짜 (Field6) — datetime
  • 삭제날짜 (Field7) — datetime