PHP Method Schema::dropColumn, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::dropColumn from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Frequently Used Methods
Example #1
Show file File: 2015_12_13_192546_add_event_info_to_campaign.php Project: sethphillips/event_mailer
0
 /**
  * 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');
     });
 }
Example #2
Show file File: 2015_06_13_044527_Create_Products_Table.php Project: arduino731/ecomm2
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('products');
 }
Example #3
Show file File: 2016_01_06_175612_create_articles_table.php Project: kevinhoa95/myblog
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('username');
 }
Example #4
Show file File: 2014_07_03_202700_update_table_tickets.php Project: sammy8806/gsi_laravel
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('tickets', function (Blueprint $table) {
         Schema::dropColumn(['status']);
     });
 }
Example #5
Show file File: 2013_10_12_112221_update_media_table.php Project: s-matic/collab-consumption
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('size');
 }
Example #6
Show file File: 2015_09_10_125947_add_admin_to_users_table.php Project: eezhal92/plw-webdev
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('admin');
 }
Example #7
Show file File: 2016_04_20_073342_add_visit_column_in_diary_table.php Project: nahid/nahid.co
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('visits');
 }
Example #8
Show file File: 2015_10_12_210000_add_request_to_loggy_table.php Project: hewerthomn/laravel-loggy
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::dropColumn('request');
 }