Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

728 B
Raw Blame
## Track whether ai_usage_log entries were routed through the AI proxy

databaseChangeLog:
  - logicalFilePath: migrations/060_update_migrations.yaml
  - changeSet:
      id: v60.kdhxne
      author: mappleby
      comment: Add ai_proxied flag to ai_usage_log to track proxy vs BYOK routing
      changes:
        - addColumn:
            tableName: ai_usage_log
            columns:
              - column:
                  name: ai_proxied
                  type: ${boolean.type}
                  remarks: Whether this call was routed through the Metabase Cloud AI proxy (true) or directly via BYOK keys (false). Null for rows created before this migration.
                  constraints:
                    nullable: true