hasTable('oauth2_clients')) { $table = $schema->getTable('oauth2_clients'); if ($table->hasColumn('secret')) { $column = $table->getColumn('secret'); // we still change the column length in case Version011601Date20230522143227 // has run before it was changed to set the length to 512 $column->setLength(512); return $schema; } } return null; } }