mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 22:57:40 +08:00 
			
		
		
		
	Correction on dropCheck() message
This commit is contained in:
		@ -558,7 +558,7 @@ class Migration extends Component implements MigrationInterface
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function addCommentOnColumn($table, $column, $comment)
 | 
					    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->db->createCommand()->addCommentOnColumn($table, $column, $comment)->execute();
 | 
				
			||||||
        $this->endCommand($time);
 | 
					        $this->endCommand($time);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user