Add some indexes and tests for airports

This commit is contained in:
Nabeel Shahzad
2018-05-07 14:07:41 -05:00
parent f671d3f624
commit feeb4946d1
3 changed files with 15 additions and 2 deletions
@@ -22,6 +22,10 @@ class CreateAirportsTable extends Migration
$table->unsignedDecimal('fuel_mogas_cost')->nullable()->default(0);
$table->float('lat', 7, 4)->nullable()->default(0.0);
$table->float('lon', 7, 4)->nullable()->default(0.0);
$table->index('icao');
$table->index('iata');
$table->index('hub');
});
}