integer('pid', true); $table->point('geopoint'); // // $table->spatialIndex(['geopoint'], 'geopoint'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('_geopoints'); } };