hasTable('station')) { $table = $this->table('station'); $table ->addColumn('in_station_mac', 'string', ['limit' => 50,'null' => true,'signed' => true,'comment' => '进基站',]) ->addColumn('out_station_mac', 'string', ['limit' => 50,'null' => true,'signed' => true,'comment' => '出基站',]) ->addColumn('config_list', 'text', ['null' => true,'signed' => true,'comment' => '配置列表',]) ->update(); } } }