study pot

테이블 (5)

Untitled (StudyMembers)

  • study_member_id — int — 기본 키 — NOT NULL
  • study_id — int — 외래 키 → 스터디.study_id — NOT NULL
  • user_id — int — 외래 키 → 회원.user_id — NOT NULL

스터디 (Study)

  • study_id — int — 기본 키 — NOT NULL
  • locatedAt — string — NOT NULL
  • createdAt — LocalDateTime
  • title — String — NOT NULL
  • content — String — NOT NULL — 내용
  • max_number — int — NOT NULL
  • thumbnail — String
  • leader — user — 외래 키 → 회원.user_id — NOT NULL

스터디관심사 (StudyCategory)

  • study_category_id — int — 기본 키 — NOT NULL
  • study_id — int — 외래 키 → 스터디.study_id — NOT NULL
  • category — String

회원 (User)

  • user_id — int — 기본 키 — NOT NULL
  • email — email — NOT NULL
  • password — string — NOT NULL
  • is_staff — boolean — NOT NULL
  • is_active — boolean — NOT NULL
  • name — string — NOT NULL
  • location — string
  • category — string — 관심사
  • introduction — string — 자기소개
  • image

회원관심사 (UserCategory)

  • user_category_id — int — 기본 키 — NOT NULL
  • user_id — int — 외래 키 → 회원.user_id — NOT NULL
  • category — String