mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
f22d4e2cbb
Adds table to store keys that AI Gateway standalone replicas will use to authenticate into Coderd. Also adds RBAC and audit boilerplate.
7 lines
333 B
SQL
7 lines
333 B
SQL
-- Enum additions to resource_type and api_key_scope are intentionally not
|
|
-- reverted because Postgres cannot drop enum values safely.
|
|
DROP INDEX IF EXISTS ai_gateway_keys_hashed_secret_idx;
|
|
DROP INDEX IF EXISTS ai_gateway_keys_secret_prefix_idx;
|
|
DROP INDEX IF EXISTS ai_gateway_keys_name_idx;
|
|
DROP TABLE IF EXISTS ai_gateway_keys;
|