suna/backend/supabase/migrations/20250723055703_nullable_sys...

6 lines
149 B
MySQL
Raw Normal View History

2025-07-23 14:14:36 +08:00
ALTER TABLE agents
ALTER COLUMN system_prompt DROP NOT NULL;
UPDATE agents
SET system_prompt = NULL
WHERE metadata->>'is_suna_default' = 'true';