Synap

Tables (5)

keyword (키워드)

  • 키워드아이디 (keywordId) — Bigint — Primary key — NOT NULL
  • 키워드 (keyword) — string
  • 생성날짜 (created_at) — timestamp

keyword_relation (키워드관계)

  • 키워드아이디 (k1_id) — Bigint — Foreign key → keyword.키워드아이디 — NOT NULL
  • 키워드아이디2 (k2_id) — Bigint — Foreign key → keyword.키워드아이디 — NOT NULL
  • 방향 (direction) — enum — { give , take }
  • 설명 (description) — text
  • 선종류 (type) — enum
  • 연결강도 (strength) — int
  • 생성날짜 (created_at) — timestamp
  • 유저아이디 (userId) — BigInt — Foreign key → user.유저아이디 — NOT NULL

thought (생각)

  • 생각아이디 (thoughtId) — BigInt — Primary key — NOT NULL
  • 유저아이디 (userId) — BigInt — Foreign key → user.유저아이디 — NOT NULL
  • 내용 (content) — text
  • 생성날짜 (created_at) — timestamp
  • AI요약 (ai_summary) — text
  • AI질문 (ai_question) — string
  • 사용자답변 (user_answer) — string

thought_keyword (생각-키워드)

  • 생각-키워드아이디 (id) — bigint — Primary key — NOT NULL
  • 생각아이디 (thoughtId) — BigInt — Foreign key → thought.생각아이디 — NOT NULL
  • 키워드아이디 (keywordId) — Bigint — Foreign key → keyword.키워드아이디 — NOT NULL

user (유저)

  • 유저아이디 (userId) — BigInt — Primary key — NOT NULL
  • 이메일 (email) — string
  • 닉네임 (nickname) — string