Add a resolver for multi-stage db upgrades