cleanup(upgrades): small SQL style improvement