If you have some migration jobs in Kubernetes, you can re-run them with this one-liner:
kubectl get jobs | grep migrations | awk '{print $1}' | xargs -I {} sh -c "kubectl get job {} -o json | jq 'del(.spec.selector)' | jq 'del(.spec.template.metadata.labels)' | kubectl replace --force -f -"
Based on this Stack Overflow answer.