patch to fix migration file errors
added patch to fix migrations