DEVSUPPORT-1089 - modify the create_deployment_record