/**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Store\Product::whereNotNull('custom_class')->delete();
     Schema::connection('mysql-store')->table('products', function ($table) {
         $table->dropColumn(['custom_class']);
         $table->integer('weight')->change();
         $table->decimal('cost', 10, 2)->change();
     });
     Schema::connection('mysql-store')->table('order_items', function ($table) {
         $table->dropColumn('extra_info');
     });
 }
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Store\Product::whereNotNull('custom_class')->delete();
     Schema::connection("mysql-store")->table("products", function ($table) {
         $table->dropColumn(["custom_class"]);
         $table->integer("weight")->change();
         $table->decimal("cost", 10, 2)->change();
     });
     Schema::connection("mysql-store")->table("order_items", function ($table) {
         $table->dropColumn("extra_info");
     });
 }