Cache database migrations to be able to do rollbacks if need be.