Sorry for the delay in getting back to you.
You can run custom PowerShell scripts before
deployments. Basically you need to add PowerShell scripts to your NuGet package with certain names. Deployment Manager then calls the script as part of a deployment.
To find out more about this: http://documentation.red-gate.com/displ ... deployment
Does this solve your problem?