From f4acfeb701f8eb867e2ff5e93592c37901254177 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..729c9f7 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['comment'] ?? null, ]; return new Column(