ALTER TABLE purchase_orders ALTER COLUMN vendor_id SET NOT NULL;