Add ETA for booking table

This commit is contained in:
Too
2018-06-26 11:28:53 +08:00
parent 3129da5df4
commit ec6db69373
4 changed files with 36 additions and 2 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddEtaBookingTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('bookings', function (Blueprint $table) {
$table->integer('estimated_arrival_time');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('bookings', function (Blueprint $table) {
// $table->dropColumn('estimated_arrival_time');
});
}
}