mirror of
https://github.com/coder/coder.git
synced 2026-09-23 14:03:57 +08:00
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;
|