You are browsing documentation for version 5.0 of OroCommerce, supported until January 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

How to Resolve Draft Conflicts 

To solve the problem of the table fields’ uniqueness for the drafts, you can use the draft_uuid field to guarantee the uniqueness.

The draft_uuid field is required and is unique for the draft entity, so it can be used together with other fields.

To ensure the uniqueness of the fields in the database table, change the structure of the database table and use the combined unique keys with the draft_uuid field.


In case it is impossible to change the structure of the table, you can use the extension as described in the How to use draft extensions topic.