Added a check to make sure migration doesn't already exist