suna/backend/supabase/migrations/20250706130554_simplify_wor...

6 lines
221 B
MySQL
Raw Normal View History

2025-07-23 17:37:17 +08:00
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_enum WHERE enumlabel = 'instruction' AND enumtypid = 'workflow_step_type'::regtype) THEN
ALTER TYPE workflow_step_type ADD VALUE 'instruction';
END IF;
END $$;