Skip to content

Commit 04ff6f0

Browse files
Update Migration1738788990ImportExportTechnicalName.php (#49)
1 parent 986e6f5 commit 04ff6f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Migration/Migration1738788990ImportExportTechnicalName.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public function getCreationTimestamp(): int
1818
public function update(Connection $connection): void
1919
{
2020
$connection->executeStatement(
21-
'UPDATE import_export_profile SET technical_name = :technicalName WHERE source_entity = :sourceEntity',
21+
'UPDATE import_export_profile SET technical_name = :technicalName WHERE source_entity = :sourceEntity AND system_default = 1',
2222
[
2323
'technicalName' => 'default_' . RedirectDefinition::ENTITY_NAME,
2424
'sourceEntity' => RedirectDefinition::ENTITY_NAME,
2525
]
2626
);
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)