mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add endpoint to list aibridge interceptions (#19929)
Co-authored-by: Dean Sheather <dean@deansheather.com>
This commit is contained in:
co-authored by
Dean Sheather
parent
d70e26d2e3
commit
0a6ba5d51a
@@ -0,0 +1,5 @@
|
||||
DROP INDEX IF EXISTS idx_aibridge_interceptions_started_id_desc;
|
||||
|
||||
DROP INDEX IF EXISTS idx_aibridge_interceptions_provider;
|
||||
|
||||
DROP INDEX IF EXISTS idx_aibridge_interceptions_model;
|
||||
@@ -0,0 +1,9 @@
|
||||
-- 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);
|
||||
Reference in New Issue
Block a user