PhoToon

Tables (5)

origin_image

  • 원본 인덱스 (origin_id) — int — Primary key — NOT NULL — autoincrease
  • 사용자인덱스 (user_id) — int — Foreign key → user.사용자인덱스 — NOT NULL — autoincrease
  • 삭제여부 (is_deleted) — boolean — NOT NULL
  • 원본이미지링크 (image_url) — varchar(100) — NOT NULL
  • 생성일 (created_at) — Datetime(6) — NOT NULL
  • 수정일 (updated_at) — Datetime(6) — NOT NULL

result_image

  • 결과인덱스 (result_id) — int — Primary key — NOT NULL — autoincrease
  • 원본 인덱스 (origin_id) — int — Foreign key → origin_image.원본 인덱스 — NOT NULL — autoincrease
  • 사용자인덱스 (user_id) — int — Foreign key → user.사용자인덱스 — NOT NULL — autoincrease
  • 만화스타일 (style) — int — Foreign key → style.만화스타일 — NOT NULL — autoincrease
  • 말풍선 (speech_bubble) — int — Foreign key → speech_bubble.말풍선 — autoincrease
  • 텍스트 (text) — varchar(10) — Foreign key → speech_bubble.말풍선
  • 배경분리여부 (background) — int — NOT NULL
  • 변환여부 (is_converted) — boolean — NOT NULL — AI가 적용됐는지
  • 삭제여부 (is_deleted) — boolean — NOT NULL
  • 최종이미지링크 (image_url) — varchar(100) — NOT NULL — link to S3
  • 생성일 (created_at) — Datetime(6) — NOT NULL
  • 수정일 (updated_at) — Datetime(6) — NOT NULL

speech_bubble

  • 말풍선 (speech_bubble) — int — Primary key — NOT NULL — autoincrease
  • 텍스트 (text) — varchar(10)
  • 생성일 (created_at) — Datetime(6) — NOT NULL
  • 수정일 (updated_at) — Datetime(6) — NOT NULL

style

  • 만화스타일 (style) — int — Primary key — NOT NULL — autoincrease
  • 생성일 (created_at) — Datetime(6) — NOT NULL
  • 수정일 (updated_at) — Datetime(6) — NOT NULL

user

  • 사용자인덱스 (user_id) — int — Primary key — NOT NULL — autoincrease
  • 이메일 (email) — varchar(30) — NOT NULL
  • 비밀번호 (passwd) — password — NOT NULL
  • 삭제여부 (is_deleted) — boolean — NOT NULL
  • 생성일 (created_at) — Datetime(6) — NOT NULL
  • 수정일 (updated_at) — Datetime(6) — NOT NULL