changelog/release-6-4-11-0/2022-03-23-promotion-redemption-updater-performance.md
Rama trunk · réplica de lectura del repositorio original.
---
title: Improve promotion redemption updater performance
issue: NEXT-17359
author: Max Stegmeyer
author_email: m.stegmeyer@shopware.com
---
# Core
* Added write protected column `promotionId` to `order_line_item` to allow for better indexing
* Changed `Shopware\Core\Checkout\Promotion\DataAbstractionLayer\PromotionRedemptionUpdater` to only increment totals of `promotions` when order is placed
* Changed `Shopware\Core\Checkout\Promotion\DataAbstractionLayer\PromotionRedemptionUpdater` to recalculate totals of `promotions` when indexing occurs