Files
sub2api/backend/migrations/075_add_usage_log_upstream_model.sql

5 lines
279 B
MySQL
Raw Permalink Normal View History

-- Add upstream_model field to usage_logs.
-- Stores the actual upstream model name when it differs from the requested model
-- (i.e., when model mapping is applied). NULL means no mapping was applied.
ALTER TABLE usage_logs ADD COLUMN IF NOT EXISTS upstream_model VARCHAR(100);