src/migrations/2016_11_17_085307_addTrackIPField.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        echo "Modify (revisions) drop (ip)..." . PHP_EOL;
        if (Schema::hasColumn('revisions', 'ip'))
        {
            Schema::table('revisions', function($table)
            {
                $table->dropColumn('ip');
            });
        }
    }
public function down ( ) { echo " Modify (revisions) drop (ip)... " . PHP_EOL ; if ( Schema :: hasColumn ( 'revisions' , 'ip' ) ) { Schema :: table ( 'revisions' , function ( $ table ) { $ table -> dropColumn ( 'ip' ) ; } ) ; } }
Reverse the migrations.
Reverse the migrations .