database/migrations/2018_12_12_090526_update_plans_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('plans', function (Blueprint $table) {
            $table->dropColumn('sub_id');
            $table->dropColumn('sub_plan');
            $table->dropColumn('sub_start');
            $table->dropColumn('sub_end');
            $table->dropColumn('renew_plan');
            $table->dropColumn('renew_invoice');
            $table->dropColumn('auto_bill');
            $table->dropColumn('auto_reserve');
            $table->dropColumn('reserve');
        });
    }
public function down ( ) { Schema :: table ( 'plans' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'sub_id' ) ; $ table -> dropColumn ( 'sub_plan' ) ; $ table -> dropColumn ( 'sub_start' ) ; $ table -> dropColumn ( 'sub_end' ) ; $ table -> dropColumn ( 'renew_plan' ) ; $ table -> dropColumn ( 'renew_invoice' ) ; $ table -> dropColumn ( 'auto_bill' ) ; $ table -> dropColumn ( 'auto_reserve' ) ; $ table -> dropColumn ( 'reserve' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .