From 21a118fe4f48277562f13b274f7e5f8371973940 Mon Sep 17 00:00:00 2001 From: Aliaksei Sanikovich Date: Thu, 26 Sep 2024 21:41:37 +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 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(