Important

You are browsing documentation for version 5.1 of OroCommerce, supported until March 2026. 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.

Note

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.