kambuku/database/migrations/2016_06_14_144808_addbadwordFilter.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('badwords', function($table){
            $table->dropColumn('words');
        });
        Schema::table('badwords', function($table){
            $table->dropColumn('filter_name');
            $table->dropTimestamps();
            $table->text('words');
        });
    }
public function down ( ) { Schema :: table ( 'badwords' , function ( $ table ) { $ table -> dropColumn ( 'words' ) ; } ) ; Schema :: table ( 'badwords' , function ( $ table ) { $ table -> dropColumn ( 'filter_name' ) ; $ table -> dropTimestamps ( ) ; $ table -> text ( 'words' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .
//