# Update 5.2.12 auf 5.2.13: Integrity constraint violation: 1062 Duplicate entry

**URL:** <https://forum.shopware.com/t/update-5-2-12-auf-5-2-13-integrity-constraint-violation-1062-duplicate-entry/42784>\
**Category:** Programmierung\
**Created:** [14. Januar 2017 um 00:15 UTC](https://forum.shopware.com/t/update-5-2-12-auf-5-2-13-integrity-constraint-violation-1062-duplicate-entry/42784 "2017-01-14T00:15:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ace16vitamine](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/ace16vitamine/32/17473_2.png) [@ace16vitamine](https://forum.shopware.com/u/ace16vitamine)\
**Post date:** [14. Januar 2017 um 00:15 UTC](https://forum.shopware.com/t/update-5-2-12-auf-5-2-13-integrity-constraint-violation-1062-duplicate-entry/42784/1 "2017-01-14T00:15:13Z")

</div>

Hallo zusammen,

beim Update der Datenbank von 5.2.12 auf 5.2.13 bekomme ich folgenden Fehler:

&nbsp;

Error

Received the following error message:  
Could not apply migration (Migrations\_Migration797). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘frontend/salutation-1-mr-45’ for key ‘namespace’&nbsp;

Please try to fix this error and restart the update.

Response

```
 {"valid":false,"errorMsg":"Could not apply migration (Migrations\_Migration797). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'frontend/salutation-1-mr-45' for key 'namespace' "}

```

Hat jemand eine Idee wie ich das lösen kann?

Viele Grüße

Stefan

&nbsp;

---

<div class="post-metadata">

**Author:** ![ace16vitamine](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/ace16vitamine/32/17473_2.png) [@ace16vitamine](https://forum.shopware.com/u/ace16vitamine)\
**Post date:** [14. Januar 2017 um 00:37 UTC](https://forum.shopware.com/t/update-5-2-12-auf-5-2-13-integrity-constraint-violation-1062-duplicate-entry/42784/2 "2017-01-14T00:37:04Z")

</div>

Selbe Problem hier: [https://forum.shopware.com/discussion/43313/datenbank-fehlermeldung-beim-update-auf-5-2-13](https://forum.shopware.com/discussion/43313/datenbank-fehlermeldung-beim-update-auf-5-2-13)

&nbsp;
