Skip to content

Commit

Permalink
Testing done
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Selivanov committed Dec 28, 2023
1 parent f1d1ebd commit 04d9b2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Phinx/Db/Adapter/MysqlAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ protected function getRenameColumnInstructions(string $tableName, string $column

// create the extra string by also filtering out the DEFAULT_GENERATED option (MySQL 8 fix)
$extras = array_filter(explode(' ', strtoupper($row['Extra'])), function ($value) {
// if ($value == 'DEFAULT_GENERATED') {
// return false;
// }
if ($value == 'DEFAULT_GENERATED') {
return false;

Check warning on line 572 in src/Phinx/Db/Adapter/MysqlAdapter.php

View check run for this annotation

Codecov / codecov/patch

src/Phinx/Db/Adapter/MysqlAdapter.php#L570-L572

Added lines #L570 - L572 were not covered by tests
}

return true;
});
Expand Down

0 comments on commit 04d9b2a

Please sign in to comment.