augment migration with actual data fix

Prior migration worked if there was no data, but failed if there was
a Deployment. This works with or without a Deployment.