flab-bada

Tables (8)

answer (tb_answer)

  • id (답변 아이디) — int — Primary key — NOT NULL
  • Field

lecture_details (tb_lecture_details)

  • 강의 세부 사항 아이디 (id) — int — Primary key — NOT NULL
  • 강의 아이디 (lectures_id) — int — Foreign key → letures.강의 아이디 — NOT NULL
  • 아이디 (id2) — int — Foreign key → letures.아이디 — NOT NULL
  • 주소 (url) — varchar(100)
  • 등록일 (create_date) — date
  • 수정일 (update_date) — date

letures (tb_lectures)

  • 강의 아이디 (id) — int — Primary key — NOT NULL
  • 아이디 (id2) — int — Foreign key → users.아이디 — NOT NULL
  • 이름 (name) — varchar(50)
  • 강의 설명 (doc) — text
  • 가격 (price) — int
  • 등록일 (create_date) — timestamp
  • 수정일 (update_date) — timestamp

pay (tb_pay)

    question (tb_question)

    • id (질문 아이디) — int — Primary key — NOT NULL
    • Field

    registration (tb_registration)

    • id (등록아이디) — int — Primary key — NOT NULL
    • use_yn (사용여부) — char(1)
    • pay_yn (결제여부) — char(1)
    • deadline (기한) — timestamp
    • create_date (등록일) — timestamp
    • update_date (수정일) — timestamp

    user_detail_info (tb_user_detail_info)

    • 시퀀스 (seq) — int — Primary key — NOT NULL
    • 유저아이디 (user_id) — int — Foreign key → users.아이디 — NOT NULL
    • 이름 (name) — varchar(30)
    • 핸드폰 (phone) — varchar(30)
    • 닉네임 (nick_name) — varchar(30)
    • 생년월일 (birth_day) — datetime
    • 등록일 (create_date) — timestamp
    • 수정일 (update_date) — timestamp

    users (tb_users)

    • 아이디 (id) — int — Primary key — NOT NULL
    • 이메일 (email) — varchar(30)
    • 패스워드 (password) — varchar(100)
    • 사용여부 (use_yn) — char(1)
    • 규칙 (rule) — varchar(10)
    • 등록일 (create_date) — timestamp
    • 수정일 (update_date) — timestamp