added the ability to detect back-migrations