Important

You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (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.

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.