Caching db config in migration utils