ALTER TABLE ai_calls DROP CONSTRAINT ai_calls_purpose_check; ALTER TABLE ai_calls ADD CONSTRAINT ai_calls_purpose_check CHECK (purpose IN ( 'guest_extraction', 'guest_extraction_names_only', 'contact_extraction', 'categorization', 'identity_resolution', 'page_relevance', 'summary', 'profile_refinement', 'other' ));