diff --git a/src/ClickHouseSchemaManager.php b/src/ClickHouseSchemaManager.php index 29e1b48..a3241a1 100644 --- a/src/ClickHouseSchemaManager.php +++ b/src/ClickHouseSchemaManager.php @@ -137,7 +137,7 @@ protected function _getPortableTableColumnDefinition($tableColumn): Column 'default' => $default, 'notnull' => $notnull, 'autoincrement' => false, - 'comment' => null, + 'comment' => $tableColumn['name'] ?? null, ]; return new Column(