Skip to content

Commit a34db4e

Browse files
authored
Merge pull request #61 from ggoffy/master
update migratehelper
2 parents 76a67cf + 0648fb5 commit a34db4e

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)