Fixes schema definition from domain_uuid to domain_id.