kambuku/database/migrations/2016_02_05_174520_change_user_table_column_username_to_name.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('users', function ($table) {
            $table->dropColumn('name');
        });
        Schema::table('users', function(Blueprint $table)
        {
            $table->text('username');
        });
    }
public function down ( ) { Schema :: table ( 'users' , function ( $ table ) { $ table -> dropColumn ( 'name' ) ; } ) ; Schema :: table ( 'users' , function ( Blueprint $ table ) { $ table -> text ( 'username' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .
//