-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing association between promo codes and order promotions
This fixes the foreign key constraint error when deleting a promotion code that has been applied to an order. This will, of course, change the applicability of the promotion in question for that particular order. If the order is shipped, no worries though: The adjustments will stay as our service object will not try to recalculate. If the order is not shipped, the promotion will stop being applied. However, if you as a user deleted the promotion or the promotion code, that's probably what you want. Fixes #94
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters