|
|
@ -693,7 +693,7 @@ class Command extends Component |
|
|
|
* @param string $table the table that the new column will be added to. The table name will be properly quoted by the method. |
|
|
|
* @param string $table the table that the new column will be added to. The table name will be properly quoted by the method. |
|
|
|
* @param string $column the name of the new column. The name will be properly quoted by the method. |
|
|
|
* @param string $column the name of the new column. The name will be properly quoted by the method. |
|
|
|
* @param string $type the column type. [[\yii\db\QueryBuilder::getColumnType()]] will be called |
|
|
|
* @param string $type the column type. [[\yii\db\QueryBuilder::getColumnType()]] will be called |
|
|
|
* to convert the give column type to the physical one. For example, `string` will be converted |
|
|
|
* to convert the given column type to the physical one. For example, `string` will be converted |
|
|
|
* as `varchar(255)`, and `string not null` becomes `varchar(255) not null`. |
|
|
|
* as `varchar(255)`, and `string not null` becomes `varchar(255) not null`. |
|
|
|
* @return $this the command object itself |
|
|
|
* @return $this the command object itself |
|
|
|
*/ |
|
|
|
*/ |
|
|
|