Add Doctrine schema pre-upgrades