Skip to content

Commit

Permalink
Correction on dropCheck() message
Browse files Browse the repository at this point in the history
  • Loading branch information
bobonov authored Sep 22, 2023
1 parent a45382c commit 8aa0ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/db/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public function dropCheck($name, $table)
*/
public function addCommentOnColumn($table, $column, $comment)
{
$time = $this->beginCommand("add comment on column $column");
$time = $this->beginCommand("drop comment on column $column");

Check warning on line 561 in framework/db/Migration.php

View check run for this annotation

Codecov / codecov/patch

framework/db/Migration.php#L561

Added line #L561 was not covered by tests
$this->db->createCommand()->addCommentOnColumn($table, $column, $comment)->execute();
$this->endCommand($time);
}
Expand Down

0 comments on commit 8aa0ac6

Please sign in to comment.