Files
coder/coderd/database/migrations/000374_aibridge_interception_indices.up.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
380 B
SQL
Raw Normal View History

-- This is used for consistent cursor pagination.
CREATE INDEX IF NOT EXISTS idx_aibridge_interceptions_started_id_desc
ON aibridge_interceptions (started_at DESC, id DESC);
CREATE INDEX IF NOT EXISTS idx_aibridge_interceptions_provider
ON aibridge_interceptions (provider);
CREATE INDEX IF NOT EXISTS idx_aibridge_interceptions_model
ON aibridge_interceptions (model);