From 5f1af8be2a2d130ab7d45d32a255ff794e4c81ff Mon Sep 17 00:00:00 2001 From: Aliaksei Sanikovich Date: Thu, 26 Sep 2024 21:44:53 +0200 Subject: [PATCH] Add column comment --- src/ClickHouseSchemaManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClickHouseSchemaManager.php b/src/ClickHouseSchemaManager.php index efc6f9a..2227954 100644 --- a/src/ClickHouseSchemaManager.php +++ b/src/ClickHouseSchemaManager.php @@ -140,7 +140,7 @@ protected function _getPortableTableColumnDefinition(array $tableColumn): Column 'default' => $default, 'notnull' => $notnull, 'autoincrement' => false, - 'comment' => '', + 'comment' => $tableColumn['name'] ?? null, ]; return new Column(