Skip to content

Commit f754d04

Browse files
committed
Merge pull request #7342 in SW/shopware from sw-23338/5.5/add-auto-increment-to-migration to 5.5
* commit '961a8e5cc4dca62be97b1da1469780d719a91042': SW-23338 - Remove ID from SQL in migration to use auto-increment
2 parents 308733c + 961a8e5 commit f754d04

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

UPGRADE-5.5.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This changelog references changes done in Shopware 5.5 patch versions.
88

99
### Changes
1010

11-
* Changed the selector for the emotion-wrapper in `jquery.emotion.js` to fix an issue with emotions using the 'resize' layout
11+
* Changed the selector for the emotion-wrapper in `jquery.emotion.js` to fix an issue with emotions using the 'resize' layout
12+
* Changed SQL in migration to fix possible issues
1213

1314
## 5.5.5
1415

_sql/migrations/1452-change-laststock-filter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public function up($modus)
4242
WHERE description = "Abverkauf-Artikel ohne Lagerbestand";
4343
SQL;
4444
$sql4 = <<<'SQL'
45-
INSERT INTO s_multi_edit_filter
46-
VALUES (6,'<b>Abverkauf-Variantenartikel</b><br><small>nicht auf Lager</small>',' DETAIL.LASTSTOCK ISTRUE and DETAIL.INSTOCK <= 0','Abverkauf-Variantenartikel ohne Lagerbestand',NULL,1,0);
45+
INSERT INTO s_multi_edit_filter (`name`, `filter_string`, `description`, `created`, `is_favorite`, `is_simple`)
46+
VALUES ('<b>Abverkauf-Variantenartikel</b><br><small>nicht auf Lager</small>',' DETAIL.LASTSTOCK ISTRUE and DETAIL.INSTOCK <= 0','Abverkauf-Variantenartikel ohne Lagerbestand',NULL,1,0);
4747
SQL;
4848

4949
$this->addSql($sql);

0 commit comments

Comments
 (0)