Skip to content

Commit 1272c94

Browse files
authored
Add column comment (#72)
1 parent fb68269 commit 1272c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClickHouseSchemaManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected function _getPortableTableColumnDefinition(array $tableColumn): Column
140140
'default' => $default,
141141
'notnull' => $notnull,
142142
'autoincrement' => false,
143-
'comment' => '',
143+
'comment' => $tableColumn['comment'] ?? null,
144144
];
145145

146146
return new Column(

0 commit comments

Comments
 (0)