# Datenbank Problem bei Update auf 5.6.4

**URL:** https://forum.shopware.com/t/datenbank-problem-bei-update-auf-5-6-4/64350
**Category:** Administration
**Created:** [30. Januar 2020 um 07:39 UTC](https://forum.shopware.com/t/datenbank-problem-bei-update-auf-5-6-4/64350 "2020-01-30T07:39:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![erzshop](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@erzshop](https://forum.shopware.com/u/erzshop)
#### Post date: [30. Januar 2020 um 07:39 UTC](https://forum.shopware.com/t/datenbank-problem-bei-update-auf-5-6-4/64350/1 "2020-01-30T07:39:21Z")

</div>

Hallo, während des Update auf 5.6.4 bleibt die Aktualisierung bei der Datenbank Migration stecken:

Error  
Received the following error message:  
Could not apply migration (Migrations\_Migration1627). Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`#######`.`#sql-7f7_2adcba`, CONSTRAINT `#sql-7f7_2adcba_ibfk_1` FOREIGN KEY (`orderID`) REFERENCES `s_order` (`id`) ON DELETE CASCADE)

Please try to fix this error and restart the update.

Wie kann man dieses&nbsp;Problem fixen?

---

<div class="post-metadata">

### Author: ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)
#### Post date: [30. Januar 2020 um 07:46 UTC](https://forum.shopware.com/t/datenbank-problem-bei-update-auf-5-6-4/64350/2 "2020-01-30T07:46:21Z")

</div>

[https://forum.shopware.com/search?Search=Migration1627&sLanguage=1](https://forum.shopware.com/search?Search=Migration1627&sLanguage=1)

&nbsp;
