workflow-new

Tables (13)

api

  • api_sn (api 일련번호) — NOT NULL — Primary key — NOT NULL
  • tool_sn (툴 일련번호) — NULL — Foreign key → tool.tool_sn — NOT NULL
  • endpoint (엔드포인트) — NOT NULL
  • method (메서드) — NOT NULL
  • headers (헤더) — NULL
  • body (바디) — NULL
  • force (강제 여부) — NOT NULL

app_node (앱 노드)

  • app_node_sn (앱노드 일련번호) — NOT NULL — Primary key — NOT NULL
  • node_sn (노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • app_sn (앱 일련번호) — NOT NULL
  • return_format (반환형식) — NOT NULL
  • prompt (프롬프트) — NULL

app_node_enums (앱 노드 조건)

  • app_node_enum_sn (앱노드 조건 일련번호) — NOT NULL — Primary key — NOT NULL
  • node_sn (노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • classification (분류키) — NOT NULL
  • enum_value (분기 값) — NOT NULL
  • key_description (키에 대한 설명) — NOT NULL

crawling (크롤링)

  • crawling_sn (클롤링 일련번호) — NOT NULL — Primary key — NOT NULL
  • tool_sn (툴 일련번호) — NOT NULL — Foreign key → tool.tool_sn — NOT NULL
  • target_url (타켓 url) — NOT NULL

edges (간선)

  • edge_sn (간선 일련번호) — NOT NULL — Primary key — NOT NULL
  • graph_version_sn (그래프 버전 일련번호) — NOT NULL — Foreign key → graph_versions.graph_version_sn — NOT NULL
  • from_node_sn (시작 노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • to_node_sn (끝 노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL

graph (그래프)

  • graph_sn (그래프 일련번호) — NOT NULL — Primary key — NOT NULL
  • name (그래프명) — NOT NULL
  • description (설명) — NULL
  • is_published (사용가능여부) — NOT NULL
  • created_at (생성날짜) — NULL
  • updated_at (수정 날짜) — NULL

graph_versions (그래프 버전)

  • graph_version_sn (그래프 버전 일련번호) — NOT NULL — Primary key — NOT NULL
  • graph_sn (그래프 일련번호) — NOT NULL — Foreign key → graph.graph_sn — NOT NULL
  • version (그래프 버전) — NOT NULL
  • is_active (활성여부) — NOT NULL
  • created_at (생성날짜) — NULL

if_else_cases (조건 케이스)

  • if_else_case_sn (조건 노드 일련번호) — NOT NULL — Primary key — NOT NULL
  • node_sn (노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • match_value (조건) — NULL
  • next_node_sn (다음 노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • sort_order (순서) — NOT NULL

interface_node (인터페이스 노드)

  • interface_node_sn (인터페이스 노드 일련번호) — NOT NULL — Primary key — NOT NULL
  • node_sn (노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • endpoint (엔드포인트) — NOT NULL
  • method (메서드) — NOT NULL
  • headers (헤더) — NULL
  • body (바디) — NULL

nodes (노드)

  • node_sn (노드 일련번호) — NOT NULL — Primary key — NOT NULL
  • graph_version_sn (그래프 버전 일련번호) — NOT NULL — Foreign key → graph_versions.graph_version_sn — NOT NULL
  • type (노드 타입) — NOT NULL
  • name (노드명) — NOT NULL
  • position_x (x좌표) — NOT NULL
  • position_y (y좌표) — NOT NULL

tool (툴)

  • tool_sn (툴 일련번호) — NOT NULL — Primary key — NOT NULL
  • app_node_sn (앱노드 일련번호) — NOT NULL — Foreign key → app_node.app_node_sn — NOT NULL
  • name (툴명) — NOT NULL
  • type (툴 타입) — NOT NULL
  • description (툴 설명) — NOT NULL

worflow_run_steps (실행 스텝 상세)

  • workflow_run_step_sn (column_name) — NOT NULL — Primary key — NOT NULL
  • workflow_run_sn (실행 헤더 일련번호) — NOT NULL — Foreign key → workflow_runs.workflow_run_sn — NOT NULL
  • node_sn (노드 일련번호) — NOT NULL — Foreign key → nodes.node_sn — NOT NULL
  • started_at (시작시간) — NULL
  • finished_at (종료시간) — NULL
  • status (상태) — NOT NULL
  • context_before_exec (해당 노드 실행 전, 컨택스트 상태) — NULL
  • result (노드 실행 결과) — NULL

workflow_runs (실행 헤더)

  • workflow_run_sn (column_name) — NOT NULL — Primary key — NOT NULL
  • graph_version_sn (그래프 버전 일련번호) — NOT NULL — Foreign key → graph_versions.graph_version_sn — NOT NULL
  • started_at (시작시간) — NULL
  • finished_at (종료시간) — NULL
  • status (상태) — NOT NULL
  • input_json (입력 json) — NOT NULL
  • output_json (출력json) — NULL