diff --git a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php index 6d4c59fb..ee7445ab 100644 --- a/app/Database/migrations/2017_06_17_214650_create_flight_tables.php +++ b/app/Database/migrations/2017_06_17_214650_create_flight_tables.php @@ -45,9 +45,9 @@ class CreateFlightTables extends Migration Schema::create('flight_fare', function (Blueprint $table) { $table->string('flight_id', 12); $table->unsignedInteger('fare_id'); - $table->unsignedDecimal('price', 19)->nullable(); - $table->unsignedDecimal('cost', 19)->nullable(); - $table->unsignedInteger('capacity')->nullable(); + $table->string('price', 10)->nullable(); + $table->string('cost', 10)->nullable(); + $table->string('capacity', 10)->nullable(); $table->timestamps(); $table->primary(['flight_id', 'fare_id']);