database/migrations/2017_03_04_201604_add_fields_to_workouts_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('workouts', function (Blueprint $table) {
            $table->dropColumn('drop_reps');
            $table->dropColumn('drop_weight');
            $table->dropColumn('countdown');
            $table->dropColumn('pyramid');
            $table->dropColumn('cluster_reps');
            $table->dropColumn('cluster_weight');
            $table->dropColumn('ladders');
            $table->dropColumn('partial_reps');
            $table->dropColumn('partial_weight');
            $table->dropColumn('eccentric');
            $table->dropColumn('peak_contraction');
        });
    }
public function down ( ) { Schema :: table ( 'workouts' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'drop_reps' ) ; $ table -> dropColumn ( 'drop_weight' ) ; $ table -> dropColumn ( 'countdown' ) ; $ table -> dropColumn ( 'pyramid' ) ; $ table -> dropColumn ( 'cluster_reps' ) ; $ table -> dropColumn ( 'cluster_weight' ) ; $ table -> dropColumn ( 'ladders' ) ; $ table -> dropColumn ( 'partial_reps' ) ; $ table -> dropColumn ( 'partial_weight' ) ; $ table -> dropColumn ( 'eccentric' ) ; $ table -> dropColumn ( 'peak_contraction' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .