title | issue | author | author_email |
---|---|---|---|
Fix foreign key resolving |
NEXT-22262 |
Oliver Skroblin |
o.skroblin@shopware.com |
- Added new
NoConstraint()
flag for definition fields to disable fk constraint checks for this field - Added
NoConstraint()
flag to the following fieldscustomer.default_billing_address_id
customer.default_shipping_address_id
order.billing_address_id
product.product_media_id
- Changed association
media.avatarUser
from one-to-one to one-to-many- Renamed
media.avatarUser
tomedia.avatarUsers
- Renamed
MediaEntity::$avatarUser
toMediaEntity::$avatarUsers
- Changed
MediaEntity::$avatarUser
type fromUserEntity|null
toUserCollection|null
- Renamed
- Changed behavior of
WriteCommandQueue::getCommandsInOrder
so that each command is resolved individually in the write order to avoid possible circular dependencies much better - Changed
VersionManager
so that now all versioned entries are completely deleted