chanlog

Tables (7)

Blog

  • 블로그 제목 (title) — String — Primary key — NOT NULL
  • 유저 고유 아이디 (id) — String — Foreign key → User.유저 고유 아이디 — NOT NULL
  • 생성 날짜 (created_at) — Date
  • 수정 날짜 (updated_at) — Date
  • 썸네일 (thumbnail) — String

Comment

  • 댓글 고유 id (uuid) — String — Primary key — NOT NULL
  • 댓글 (comment) — String

Content

  • 블로그 제목 (title) — String — Foreign key → Blog.블로그 제목 — NOT NULL
  • 유저 고유 아이디 (id) — String — Foreign key → Blog.유저 고유 아이디 — NOT NULL
  • 블로그 내용 (content) — Text

Image

  • 이미지 고유 아이디 (uuid) — String — Primary key — NOT NULL
  • 블로그 제목 (title) — String — Foreign key → Content.블로그 제목 — NOT NULL
  • 유저 고유 아이디 (id2) — String — Foreign key → Content.유저 고유 아이디 — NOT NULL
  • 이미지 링크 (url) — String

Refresh

  • refresh token (refresh_token) — String — Primary key — NOT NULL
  • 유저 고유 아이디 (id) — String — Foreign key → User.유저 고유 아이디 — NOT NULL
  • 생성 날짜 (created_at) — Date

Untitled2

  • 블로그 제목 (title) — String — Foreign key → Blog.블로그 제목 — NOT NULL
  • 유저 고유 아이디 (id) — String — Foreign key → Blog.유저 고유 아이디 — NOT NULL
  • 댓글 고유 id (uuid) — String — Foreign key → Comment.댓글 고유 id — NOT NULL
  • 작성 날짜 (created_at) — String
  • 수정 날짜 (updated_at) — String

User

  • 유저 고유 아이디 (email) — String — Primary key — NOT NULL
  • 유저 비밀번호 (password) — String
  • 유저 이름 (name) — String
  • 유저 사진 (img) — String
  • 유저 역할 (role) — String