You are browsing upcoming documentation for version 5.1 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in March 2023. Read version 5.0 (the latest LTS version) of the Oro documentation 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.
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
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.