table('station_passing', ['engine' => 'InnoDB', 'collation' => 'utf8mb4_general_ci', 'comment' => '统计表' ,'id' => 'id','signed' => true ,'primary_key' => ['id']]); $table->addColumn('address', 'string', ['limit' => 255,'null' => true,'signed' => true,'comment' => '地点',]) ->addColumn('mac', 'string', ['limit' => 32,'null' => true,'signed' => true,'comment' => '基站',]) ->addColumn('date', 'date', ['null' => true,'signed' => true,'comment' => '日期',]) ->addColumn('num', 'integer', ['limit' => MysqlAdapter::INT_REGULAR,'null' => true,'signed' => true,'comment' => '过车数',]) ->create(); } }