Add primary key checks before adding them
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3485474. --> Reported by: [dpi](https://www.drupal.org/user/81431) >>> <p>Following <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/date_recur/-/work_items/3205682" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/date_recur/-/work_items/3205682</a></span></p> <p>Some people are reporting the primary key already exists for some reason!?!</p> <p>Added further safety checks</p>
issue