#41 inline editing of fuel prices

This commit is contained in:
Nabeel Shahzad
2017-07-05 18:48:32 -05:00
parent d44d374218
commit 10baaab646
10 changed files with 156 additions and 58 deletions

View File

@@ -19,9 +19,9 @@ class CreateAirportsTable extends Migration
$table->string('name');
$table->string('location')->nullable();
$table->string('country')->nullable();
$table->double('fuel_100ll_cost', 19, 2)->nullable();
$table->double('fuel_jeta_cost', 19, 2)->nullable();
$table->double('fuel_mogas_cost', 19, 2)->nullable();
$table->double('fuel_100ll_cost', 19, 2)->default(0);
$table->double('fuel_jeta_cost', 19, 2)->default(0);
$table->double('fuel_mogas_cost', 19, 2)->default(0);
$table->float('lat', 7, 4)->default(0.0);
$table->float('lon', 7, 4)->default(0.0);
$table->timestamps();