PHP Schema::dropColumn Examples

PHP Schema::dropColumn - 8 examples found. These are the top rated real world PHP examples of Schema::dropColumn extracted from open source projects. You can rate examples to help us improve the quality of examples.
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('campaigns', function ($table) {
         $table->string('address');
         $table->string('city');
         $table->string('state');
         $table->string('zip');
         $table->string('venue');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('products');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('username');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('tickets', function (Blueprint $table) {
         Schema::dropColumn(['status']);
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('size');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('admin');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('visits');
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('request');
 }