increments('id'); $table->unsignedInteger('user_id'); $table->string('flight_id', 12); $table->timestamps(); $table->index('user_id'); $table->index(['user_id', 'flight_id']); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('user_bids'); } }