Skip to content

Commit

Permalink
Simulating test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Selivanov committed Dec 28, 2023
1 parent 6aca81b commit f1d1ebd
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) {

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

View check run for this annotation

Codecov / codecov/patch

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

Added line #L570 was not covered by tests
if ($value == 'DEFAULT_GENERATED') {
return false;
}
// if ($value == 'DEFAULT_GENERATED') {
// return false;
// }

return true;
});
Expand Down

0 comments on commit f1d1ebd

Please sign in to comment.