update migration

This commit is contained in:
Jack Goh
2018-08-02 10:27:20 +08:00
parent 6538c84032
commit 4fa1158a7c
@@ -14,7 +14,7 @@ class AddEtaUserBankSlipTable extends Migration
public function up()
{
Schema::table('user_bank_slips', function (Blueprint $table) {
$table->integer('estimated_arrival_time');
$table->integer('estimated_arrival_time')->nullable();
});
}
@@ -27,7 +27,7 @@ class AddEtaUserBankSlipTable extends Migration
{
if (Schema::hasColumn('user_bank_slips', 'estimated_arrival_time')) {
Schema::table('user_bank_slips', function (Blueprint $table) {
// $table->dropColumn('estimated_arrival_time');
$table->dropColumn('estimated_arrival_time');
});
}
}