Don't deactivate postgres explicit on update process as without postgres based installations will not be able to migrated which prevents from being updated. Instead adding a switch for postgres and mysql.