matching

테이블 (4)

매칭 (Matching)

  • Key (matching_id) — 기본 키 — NOT NULL
  • Key (profile_id) — 외래 키 → 본인정보.Key — NOT NULL
  • Key (user_id2) — 외래 키 → 본인정보.Key — NOT NULL
  • Key (preference_id) — 외래 키 → 이상형.Key — NOT NULL
  • Key (user_id22) — 외래 키 → 이상형.Key — NOT NULL
  • Field (user1_id)
  • Field2 (user2_id)
  • Field (state)

본인정보 (Profile)

  • Key (profile_id) — 기본 키 — NOT NULL
  • Key (user_id2) — 외래 키 → 사용자.Key — NOT NULL
  • Field (user_id)
  • Field2 (height)
  • Field (alcohol)
  • Field2 (Smoke)
  • Field (education)
  • Field2 (address)

사용자 (USER)

  • Key (user_id) — 기본 키 — NOT NULL
  • Field (Kakao)

이상형 (Preference)

  • Key (preference_id) — 기본 키 — NOT NULL
  • Key (user_id2) — 외래 키 → 사용자.Key — NOT NULL
  • Field (user_id)
  • Field2 (height)
  • Field3 (alcohol)
  • Field (smoke)
  • Field (education)
  • Field2