Files
Enterprise-Knowledge-Base/migrations/versioned/000019_add_agent_duration_ms.up.sql
T
wizardchen b5edc4aa39 chore: update AWS SDK dependencies and add database migrations
- Updated AWS SDK dependencies to versions v1.29.14 for config and v1.83.0 for S3, ensuring compatibility and access to the latest features.
- Added migration scripts to introduce  column in the messages table for tracking agent execution duration.
- Added migration scripts to introduce  column in the messages table and new JSONB columns in the tenants table for chat history configuration.
2026-03-09 11:46:56 +08:00

4 lines
228 B
SQL

-- Add agent_duration_ms column to messages table
-- Stores the total agent execution duration in milliseconds (from query start to answer start)
ALTER TABLE messages ADD COLUMN IF NOT EXISTS agent_duration_ms BIGINT DEFAULT 0;