Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

692 B
Raw Blame
CREATE TABLE IF NOT EXISTS log_export_destinations (
  id TEXT PRIMARY KEY,
  name TEXT NOT NULL,
  type TEXT NOT NULL,
  enabled INTEGER NOT NULL DEFAULT 0,
  config TEXT NOT NULL DEFAULT '{}',
  batch_size INTEGER NOT NULL DEFAULT 500,
  include_bodies INTEGER NOT NULL DEFAULT 0,
  max_body_bytes INTEGER NOT NULL DEFAULT 262144,
  max_rows_per_run INTEGER NOT NULL DEFAULT 10000,
  cursor_row_id INTEGER NOT NULL DEFAULT 0,
  exported_total INTEGER NOT NULL DEFAULT 0,
  last_run_at TEXT,
  last_status TEXT,
  last_error TEXT,
  created_at TEXT NOT NULL,
  updated_at TEXT NOT NULL
);
CREATE INDEX IF NOT EXISTS idx_log_export_destinations_enabled
  ON log_export_destinations(enabled);