restores migrations