chanlog

Tables (4)

Blog

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

Content

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

Refresh

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

User

  • 유저 아이디 (id) — String — Primary key — NOT NULL
  • 유저 비번 (password) — String
  • 유저 이름 (name) — String
  • 유저 이미지 (img) — String?
  • 유저 역할 (role) — Role