yii2添加列

示例

public function up()
{
    $this->addColumn('post', 'position', $this->integer());
}