Skip to content

Commit 21a118f

Browse files
committed
Add column comment
1 parent 3b829d0 commit 21a118f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClickHouseSchemaManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ protected function _getPortableTableColumnDefinition($tableColumn): Column
137137
'default' => $default,
138138
'notnull' => $notnull,
139139
'autoincrement' => false,
140-
'comment' => null,
140+
'comment' => $tableColumn['name'] ?? null,
141141
];
142142

143143
return new Column(

0 commit comments

Comments
 (0)