Skip to content

Commit 0648fb5

Browse files
committed
update migratehelper
1 parent 2669b16 commit 0648fb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

class/Common/MigrateHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function createSchemaFromSqlfile(): bool
106106
// get options
107107
$this->getOptions($line, $options);
108108
$tables[$tableName]['options'] = $options;
109-
} elseif ('ENGINE ' === \mb_strtoupper(\substr($line, 0, 7))) {
109+
} elseif ('ENGINE' === \mb_strtoupper(\substr($line, 0, 6))) {
110110
$this->getOptions($line, $options);
111111
$tables[$tableName]['options'] = $options;
112112
} elseif ('DEFAULT CHARSET ' === \mb_strtoupper(\substr($line, 0, 16))) {

0 commit comments

Comments
 (0)