Skip to content

Commit 01621ca

Browse files
#25354: Static tests fix.
1 parent 876c45d commit 01621ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/MySQL/DbSchemaReader.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ public function readIndexes($tableName, $resource)
147147
}
148148

149149
/**
150+
* Read references (foreign keys) from Magento tables.
151+
*
150152
* As MySQL has bug and do not show foreign keys during DESCRIBE and other directives required
151-
* to take it from SHOW CREATE TABLE ...
152-
* command
153+
* to take it from "SHOW CREATE TABLE ..." command.
153154
*
154155
* @inheritdoc
155156
*/
@@ -177,6 +178,7 @@ public function getCreateTableSql($tableName, $resource)
177178

178179
/**
179180
* Reading DB constraints.
181+
*
180182
* Primary and unique constraints are always non_unique=0.
181183
*
182184
* @inheritdoc

0 commit comments

Comments
 (0)