restoring salesorderview in sql upgrades