Files
PaperClipAI/packages/db/src/migrations/0321_copilot_defaults.sql
T
DottaandPaperclip 6dd65ca5f7 Preserve Copilot token verification in the current agent lifecycle
Move environment and metadata checks into the upstream services, retain connection access and authentication failure handling, and follow mainline migration 0320 with additive Copilot migration 0321.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-09 11:49:20 -05:00

5 lines
670 B
SQL

ALTER TABLE "ai_connection_defaults" DROP CONSTRAINT IF EXISTS "ai_connection_defaults_provider_check";--> statement-breakpoint
ALTER TABLE "ai_provider_defaults" DROP CONSTRAINT IF EXISTS "ai_provider_defaults_provider_check";--> statement-breakpoint
ALTER TABLE "ai_connection_defaults" ADD CONSTRAINT "ai_connection_defaults_provider_check" CHECK ("ai_connection_defaults"."provider" in ('anthropic','openai','openrouter','xai','google','github'));--> statement-breakpoint
ALTER TABLE "ai_provider_defaults" ADD CONSTRAINT "ai_provider_defaults_provider_check" CHECK ("ai_provider_defaults"."provider" in ('anthropic','openai','openrouter','xai','google','github'));