Skip to content

Commit 6ea5f1d

Browse files
committed
Resolve TODOs
1 parent 3fbf3c7 commit 6ea5f1d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/lib/migrations/PostgresMigrationBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function buildColumnChanges(ColumnSchema $current, ColumnSchema $desir
9191
}
9292
}
9393

94-
if (in_array('comment', $changed, true)) { // TODO
94+
if (in_array('comment', $changed, true)) {
9595
if ($desired->comment) {
9696
$this->migration->addUpCode($this->recordBuilder->addCommentOnColumn($tableName, $desired->name, $desired->comment));
9797
$this->migration->addDownCode($this->recordBuilder->dropCommentFromColumn($tableName, $desired->name));

tests/specs/issue_fix/60_description_of_a_property_in_spec_must_correspond_to_db_table_column_comment/index.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ components:
1414
name:
1515
type: string
1616
description: desc with ' quote
17-
# colour:
18-
# type: string
19-
# maxLength: 255
20-
# x-db-type: varbinary # TODO
2117
description:
2218
type: number
2319
x-db-type: double precision

0 commit comments

Comments
 (0)