Files
PaperClipAI/packages/db/src/migrations/0267_warm_wild_child.sql
T
DottaandPaperclip 6abeb67334 feat: add opt-in chat provider and data foundation (#13100)
Add dormant provider contracts, qualified patched adapters, tenant-scoped persistence and lifecycle ownership without activating chat routes. Preserve the experimental integration as dependent PR #13038.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 13:49:12 -05:00

9 lines
382 B
SQL

CREATE TABLE "chat_discord_command_owners" (
"application_id" text PRIMARY KEY NOT NULL,
"company_id" uuid NOT NULL,
"endpoint_id" uuid NOT NULL,
"action_id" uuid NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT "chat_discord_command_owners_application_check" CHECK ("chat_discord_command_owners"."application_id" ~ '^[1-9][0-9]{16,19}$')
);