Added minimal db version support