hasTable('flange')) { $table = $this->table('flange'); $table ->addColumn('bolt_size', 'string', ['limit' => 10,'null' => true,'signed' => true,'comment' => '螺丝尺寸',]) ->addColumn('bolt_number', 'string', ['limit' => 10,'null' => true,'signed' => true,'comment' => '螺丝数量',]) ->update(); } } }