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

This page contains top rated real world PHP examples of method Schema::removeColumn 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_10_04_134729_add_url_to_packages_table.php Project: kumarsubedi93/laravel_docs
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('packages', function (Blueprint $table) {
         Schema::removeColumn('url');
     });
 }
Example #2
Show file File: 2015_12_22_060320_add_token_in_orders_table.php Project: kumarsubedi93/repository
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::table('orders', function (Blueprint $table) {
         Schema::removeColumn('_token');
     });
 }