OJT2_Builder

Tables (18)

Calculator (Untitled5)

  • calculator_id (Key) — BIGINT — Primary key — NOT NULL — 계산기 id
  • equation (Field) — NVARCHAR(255) — NOT NULL — 계산식
  • is_correct (Field2) — TINYINT — NOT NULL — 정답여부
  • member_id (Key2) — BIGINT — Foreign key → Member.member_id — NOT NULL — 멤버 id

Member (Untitled6)

  • member_id (Key) — BIGINT — Primary key — NOT NULL — 멤버 id
  • password (Field) — NVARCHAR(255) — NOT NULL — 비밀번호
  • username (Field2) — NVARCHAR(255) — NOT NULL — 유저이름

api_message

  • Key (api_message_id) — INT — Foreign key → message.Key — NOT NULL — 메시지의 식별키
  • Key (step_id) — INT — Foreign key → step.Key — API 통신 실패 시 step의 식별키

button_message

  • Key (button_message_id) — INT — Foreign key → message.Key — NOT NULL — 버튼 메시지의 식별키
  • Field (button_message_name) — NVARCHAR(20) — 버튼에 들어갈 Title
  • Field (button_message_type) — VARCHAR(255) — NOT NULL — [Enum] STEP, WEBSITE, CALL_NUMBER, FILE

call_number_button_message

  • Key (call_number_button_message_id) — INT — Foreign key → button_message.Key — NOT NULL — 전화번호 버튼 메시지의 식별키
  • Field (phone_number) — NVARCHAR(255) — 버튼을 눌렀을 때 연결되는 전화번호

file_button_message

  • Key (file_button_message_id) — INT — Foreign key → button_message.Key — NOT NULL — 파일 버튼 메시지의 식별키
  • Field (file_path) — VARCHAR — 파일 버튼의 경로

flow

  • Key (flow_id) — INT — Primary key — NOT NULL — flow와 folder를 관리하는 file_node의 식별키
  • Field (flow_status) — VARCHAR(255) — NOT NULL — [Enum] SUBMIT, BUILD, INIT

flow (Untitled)

  • Key (flow_id) — BIGINT — Primary key — NOT NULL — 플로우 id
  • Field (name) — VARCHAR(255) — NOT NULL — 플로우 name

image_message

  • Key (imgage_message_id) — INT — Foreign key → message.Key — NOT NULL — 이미지메시지의 식별키
  • Field (image_path) — NVARCHAR(255) — 이미지의 경로

message

  • Key (message_id) — INT — Primary key — NOT NULL — 메시지의 식별키
  • Field (message_position) — NVARCHAR(255) — NOT NULL — 메시지의 위치
  • Field (message_type) — VARCHAR(255) — NOT NULL — [ENUM} TEXT, IMAGE, BUTTON, API
  • Key (message_step_id) — INT — Foreign key → message_step.Key — NOT NULL — message_step의 식별키

message_step (Untitled3)

  • Key (step_id) — BIGINT — Foreign key → step.Key — NOT NULL — 스텝 id
  • Field (text) — VARCHAR(255) — 스텝에 들어갈 텍스트 내용

message_step

  • Key (message_step_id) — INT — Foreign key → step.Key — NOT NULL — message_step의 식별키

step (Untitled2)

  • Key (step_id) — BIGINT — Primary key — NOT NULL — 스텝 id
  • Field (name) — VARCHAR(255) — NOT NULL — 스텝 이름
  • Field (step_type) — VARCHAR(255) — NOT NULL — 스템 타입
  • Key (flow_id) — BIGINT — Foreign key → flow.Key — NOT NULL — 플로우 id

step

  • Key (step_id) — INT — Primary key — NOT NULL — step의 식별키
  • Field (step_name) — NVARCHAR(255) — NOT NULL — step의 이름, NCLOB
  • Field2 (x_coordinate) — INT — NOT NULL — step의 x좌표
  • Field3 (y_coordinate) — INT — NOT NULL — step의 y좌표
  • Field4 (step_type) — VARCHAR(255) — NOT NULL — [ENUM] MESSAGE, ACTION, CONDITION, START FLOW
  • Key (flow_id) — INT — Foreign key → flow.Key — NOT NULL — flow와 folder를 관리하는 file_node의 식별키

step_button_message

  • Key (step_button_message_id) — INT — Foreign key → button_message.Key — NOT NULL — 스텝버튼 메시지의 식별키
  • Key (next_step_id) — INT — Foreign key → step.Key — 버튼에 이어진 step의 식별키

text_message

  • Key (text_message_id) — INT — Foreign key → message.Key — NOT NULL — 텍스트메시지의 식별키
  • Field (text) — NCLOB — 텍스트메시지의 텍스트 정보

website_button_message

  • Key (website_button_message_id) — INT — Foreign key → button_message.Key — NOT NULL — 웹사이트 버튼 메시지의 식별키
  • Field (website_button_message_url) — NVARCHAR(255) — 버튼에 연결된 url

website_step (Untitled4)

  • Key (step_id) — BIGINT — Foreign key → step.Key — NOT NULL — 스텝 id
  • Field (url) — VARCHAR(255) — 스텝에 들어갈 URL