reverting bases migrations and deleting them