-- Make company_id nullable for contacts
-- Some contacts in Autotask don't have a company association

ALTER TABLE contacts 
ALTER COLUMN company_id DROP NOT NULL;

COMMENT ON COLUMN contacts.company_id IS 'Company ID (nullable - some contacts may not be associated with a company)';
