From 961a8e5cc4dca62be97b1da1469780d719a91042 Mon Sep 17 00:00:00 2001 From: Patrick Stahl Date: Mon, 21 Jan 2019 13:10:14 +0100 Subject: [PATCH] SW-23338 - Remove ID from SQL in migration to use auto-increment --- UPGRADE-5.5.md | 3 ++- _sql/migrations/1452-change-laststock-filter.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/UPGRADE-5.5.md b/UPGRADE-5.5.md index 6478c9fa9cb..6313be59801 100644 --- a/UPGRADE-5.5.md +++ b/UPGRADE-5.5.md @@ -8,7 +8,8 @@ This changelog references changes done in Shopware 5.5 patch versions. ### Changes -* Changed the selector for the emotion-wrapper in `jquery.emotion.js` to fix an issue with emotions using the 'resize' layout +* Changed the selector for the emotion-wrapper in `jquery.emotion.js` to fix an issue with emotions using the 'resize' layout +* Changed SQL in migration to fix possible issues ## 5.5.5 diff --git a/_sql/migrations/1452-change-laststock-filter.php b/_sql/migrations/1452-change-laststock-filter.php index 44038744c64..37020f9c94b 100644 --- a/_sql/migrations/1452-change-laststock-filter.php +++ b/_sql/migrations/1452-change-laststock-filter.php @@ -42,8 +42,8 @@ public function up($modus) WHERE description = "Abverkauf-Artikel ohne Lagerbestand"; SQL; $sql4 = <<<'SQL' -INSERT INTO s_multi_edit_filter -VALUES (6,'Abverkauf-Variantenartikel
nicht auf Lager',' DETAIL.LASTSTOCK ISTRUE and DETAIL.INSTOCK <= 0','Abverkauf-Variantenartikel ohne Lagerbestand',NULL,1,0); +INSERT INTO s_multi_edit_filter (`name`, `filter_string`, `description`, `created`, `is_favorite`, `is_simple`) +VALUES ('Abverkauf-Variantenartikel
nicht auf Lager',' DETAIL.LASTSTOCK ISTRUE and DETAIL.INSTOCK <= 0','Abverkauf-Variantenartikel ohne Lagerbestand',NULL,1,0); SQL; $this->addSql($sql);