Skip to content

Commit 4d0f3b7

Browse files
committed
MC-5620: --convert-old-scripts mode does not convert indexes and constraints correctly
1 parent 4144cc8 commit 4d0f3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Setup/SchemaPersistor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private function processIndexes(array $tableData, \SimpleXMLElement $table)
233233
$domIndex = reset($domIndex);
234234
}
235235

236-
$attributeNames = array_diff(array_keys($indexData), ['referenceId', 'columns']);
236+
$attributeNames = array_diff(array_keys($indexData), ['referenceId', 'columns', 'name']);
237237
foreach ($attributeNames as $attributeName) {
238238
$this->updateElementAttribute(
239239
$domIndex,

0 commit comments

Comments
 (0)