Fixed migrations to be able to use git properly