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");
$this->db->createCommand()->addCommentOnColumn($table, $column, $comment)->execute();
$this->endCommand($time);
}
Expand Down

0 comments on commit 8aa0ac6

Please sign in to comment.