auto migrate db on upgrades [ci skip]