Skip to content

Commit

Permalink
Add column comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asanikovich committed Sep 26, 2024
1 parent 3b829d0 commit 21a118f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClickHouseSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected function _getPortableTableColumnDefinition($tableColumn): Column
'default' => $default,
'notnull' => $notnull,
'autoincrement' => false,
'comment' => null,
'comment' => $tableColumn['name'] ?? null,

Check failure on line 140 in src/ClickHouseSchemaManager.php

View workflow job for this annotation

GitHub Actions / PHPStan

Offset 'name' on array on left side of ?? always exists and is not nullable.
];

return new Column(
Expand Down

0 comments on commit 21a118f

Please sign in to comment.