mika-agent-assist/supabase/migrations/20260426202333_f3fab87d-8ee9-4cd5-ab4d-e23c9d55f881.sql
gpt-engineer-app[bot] 676a424259 Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
2026-04-26 20:23:37 +00:00

7 lines
No EOL
332 B
SQL

ALTER TABLE public.agent_instances
ADD COLUMN IF NOT EXISTS managed_bot_pending boolean NOT NULL DEFAULT false,
ADD COLUMN IF NOT EXISTS managed_bot_suggested_username text;
CREATE INDEX IF NOT EXISTS idx_agent_instances_managed_bot_pending
ON public.agent_instances (managed_bot_pending)
WHERE managed_bot_pending = true;