-- Revert: Make residence_id required again
-- WARNING: This will fail if there are contractors with NULL residence_id

ALTER TABLE task_contractor ALTER COLUMN residence_id SET NOT NULL;
