hasTable("Summit") && !$builder->hasColumn("Summit", "BeginAllowBookingDate")) { $builder->table('Summit', function (Table $table) { $table->dateTime("BeginAllowBookingDate")->setNotnull(false); $table->dateTime("EndAllowBookingDate")->setNotnull(false); }); } } /** * @param Schema $schema */ public function down(Schema $schema) { $builder = new Builder($schema); if($schema->hasTable("Summit") && $builder->hasColumn("Summit", "BeginAllowBookingDate")) { $builder->table('Member', function (Table $table) { $table->dropColumn("BeginAllowBookingDate"); $table->dropColumn("EndAllowBookingDate"); }); } } }