-- Fix null values in is_agentic column before adding NOT NULL constraint
-- This script should be run before running drizzle-kit push

UPDATE applications 
SET is_agentic = false 
WHERE is_agentic IS NULL;

-- Verify the update
SELECT COUNT(*) as null_count 
FROM applications 
WHERE is_agentic IS NULL;
