DB migration helper.