er

Tables (9)

Untitled

  • Key — Primary key — NOT NULL
  • Field

ai_models

  • id — BIGINT
  • name — VARCHAR(120) — NOT NULL
  • version — VARCHAR(60)
  • description — TEXT
  • created_at — TIMESTAMP — NOT NULL

block_types

  • id — BIGINT
  • type_key — VARCHAR(80) — NOT NULL
  • display_name — VARCHAR(120) — NOT NULL
  • category — VARCHAR(80)
  • description — TEXT

executions

  • id — BIGINT
  • workflow_id — BIGINT — NOT NULL
  • status — VARCHAR(20) — NOT NULL
  • started_at — TIMESTAMP
  • finished_at — TIMESTAMP
  • error_message — TEXT
  • input_payload — TEXT
  • output_payload — TEXT

natural_commands

  • id — BIGINT
  • project_id — BIGINT — NOT NULL
  • command_text — TEXT — NOT NULL
  • created_at — TIMESTAMP — NOT NULL

projects

  • id — BIGINT
  • user_id — BIGINT — NOT NULL
  • name — VARCHAR(150) — NOT NULL
  • description — TEXT
  • created_at — TIMESTAMP — NOT NULL

users

  • id — BIGINT
  • email — VARCHAR(255) — NOT NULL
  • name — VARCHAR(100) — NOT NULL
  • created_at — TIMESTAMP — NOT NULL

workflow_blocks

  • id — BIGINT
  • workflow_id — BIGINT — NOT NULL
  • block_type_id — BIGINT — NOT NULL
  • name — VARCHAR(150)
  • position — INT
  • config_text — TEXT

workflows

  • id — BIGINT
  • project_id — BIGINT — NOT NULL
  • ai_model_id — BIGINT
  • name — VARCHAR(150) — NOT NULL
  • description — TEXT
  • created_at — TIMESTAMP — NOT NULL
  • updated_at — TIMESTAMP