From 04d9b2ab8d02d10c23d3b1104b953ab4e017aae7 Mon Sep 17 00:00:00 2001 From: Sergei Selivanov Date: Thu, 28 Dec 2023 13:44:53 +0200 Subject: [PATCH] Testing done --- src/Phinx/Db/Adapter/MysqlAdapter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Phinx/Db/Adapter/MysqlAdapter.php b/src/Phinx/Db/Adapter/MysqlAdapter.php index 2366bc99d..8191de62b 100644 --- a/src/Phinx/Db/Adapter/MysqlAdapter.php +++ b/src/Phinx/Db/Adapter/MysqlAdapter.php @@ -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; + } return true; });