snaplog

Tables (4)

member (회원)

  • id (회원 id) — Primary key — NOT NULL
  • email (이메일)
  • provider (OAuth2 프로바이더)
  • created_at (회원가입 날짜)
  • updated_at (회원 정보 수정 날짜)

picture (사진)

  • id (사진 id) — Primary key — NOT NULL
  • snap_id (스냅 id) — Foreign key → snap.id — NOT NULL
  • url (사진 URL)
  • created_at (사진 추가 날짜)
  • updated_at (사진 수정 날짜)

snap (스냅)

  • id (스냅 id) — Primary key — NOT NULL
  • subject_id (주제 id) — Foreign key → subject.id — NOT NULL
  • content (스냅 내용)
  • snap_at (스냅 대상 날짜)
  • created_at (스냅 생성 날짜)
  • updated_at (스냅 수정 날짜)

subject (주제)

  • id (주제 id) — Primary key — NOT NULL
  • member_id (회원 id) — Foreign key → member.id — NOT NULL
  • name (이름)
  • emoji (대표 이모티콘)
  • created_at (주제 생성 날짜)
  • updated_at (주제 수정 날짜)