Skip to content

Commit 59c4d7b

Browse files
Merge pull request #3554 in SW/shopware from sw-14962/5.1/fix-serialized-config-data to 5.1
* commit '78368a64b66156d64dc5415967a0b9be8a89b9d0': SW-14962 - Fix serialized config data
2 parents d871fa3 + 78368a6 commit 59c4d7b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
class Migrations_Migration638 extends Shopware\Components\Migrations\AbstractMigration
4+
{
5+
public function up($modus)
6+
{
7+
$this->addSql('UPDATE s_core_config_elements SET value = CONCAT(value, ";") WHERE value LIKE "s%" AND value NOT LIKE "%;";');
8+
$this->addSql('UPDATE s_core_config_values SET value = CONCAT(value, ";") WHERE value LIKE "s%" AND value NOT LIKE "%;";');
9+
}
10+
}

0 commit comments

Comments
 (0)