db1

테이블 (3)

Post (post)

  • 이메일 (email) — string(40) — 외래 키 → 유저.이메일
  • content — string(140) — NOT NULL
  • img — string(200)

유저 (user)

  • 이메일 (email) — string(40) — 기본 키
  • 닉네임 (nick) — string(15) — NOT NULL
  • 비밀번호 (password) — string(100)
  • Provider (provider) — string(10) — NOT NULL
  • SnsID (snsID) — string(30)

해시태그 (hashtag)

  • 이메일 (email) — string(40) — 외래 키 → Post.이메일
  • title — string(15) — NOT NULL