Adjusts migrations to be reversible