2023wb-TeamD

Tables (4)

Canvas (캔버스)

  • 캔버스ID (canvas_id) — notnull — Primary key — NOT NULL
  • 캔버스 이름 (name) — notnull
  • 캔버스 오너 ID (owner_id) — notnull
  • 캔버스 미리보기 이미지 URL (canvas_preview_url) — notnull
  • 생성일 (created_at) — notnull
  • 수정일 (updated_at) — notnull
  • 삭제일 (deleted_at) — null

CanvasMember (캔버스 멤버)

  • 캔버스 멤버ID (canvas_member_id) — notnull — Primary key — NOT NULL
  • 캔버스ID (canvas_id) — notnull — Foreign key → Canvas.캔버스ID — NOT NULL
  • 멤버ID (member_id) — notnull
  • 생성일 (created_at) — notnull
  • 수정일 (updated_at) — notnull
  • 삭제일 (deleted_at) — null

Component (요소)

  • 요소ID (component_id) — notnull — Primary key — NOT NULL
  • 캔버스ID (canvas_id) — notnull — Foreign key → Canvas.캔버스ID — NOT NULL
  • 요소 유형 (component_type) — notnull
  • 요소 생성 방식 (component_source) — notnull
  • 요소 URL (component_url) — notnull
  • 요소 위치 X (position_x) — notnull
  • 요소 위치 Y (position_y) — notnull
  • 생성일 (created_at) — notnull
  • 수정일 (updated_at) — notnull
  • 삭제일 (deleted_at) — null

User (회원)

  • 회원ID (user_id) — notnull — Primary key — NOT NULL
  • 이름 (name) — notnull
  • 이메일 (email) — notnull
  • 비밀번호 (password) — notnull
  • 생성일 (created_at) — notnull
  • 수정일 (updated_at) — notnull
  • 삭제일 (deleted_at) — null