db\Migration addCommentOnColumn()

addCommentOnColumn() public method (available since version 2.0.8)

Builds and execute a SQL statement for adding comment to column

public void addCommentOnColumn ( $table, $column, $comment )
$table string

The table whose column is to be commented. The table name will be properly quoted by the method.

$column string

The name of the column to be commented. The column name will be properly quoted by the method.

$comment string

The text of the comment to be added. The comment will be properly quoted by the method.

doc_Yii
2016-10-30 16:58:07
Comments
Leave a Comment

Please login to continue.