Reverse the migrations.

@return void
335444
public function down()
    {
        //
        Schema::table('users', function ($table) {
            $table->dropColumn('tmpPwd');
            $table->dropColumn('status');
            $table->dropColumn('connection');
        });
    }
646368
public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('auth_type');
        });

        // Uncomment the section below if the users table was created above.
//        // Drop the users table.
//        Schema::drop('users');

        Schema::table('groups', function (Blueprint $table) {
            $table->dropColumn('resync_on_login');
        });

        // Uncomment the section below if the groups table was created above.
//        // Drop the groups table.
//        Schema::drop('groups');
//        // Drop the group user link table.
//        Schema::drop('group_user');
    }
302300
public function down()
        {
                Schema::create('tags_old', function($table)
                {
                    $table->integer('post_id');
                    $table->string('tag');
                    $table->unique(array('post_id', 'tag'));
                });
                DB::statement('INSERT INTO tags_old(`post_id`, `tag`) SELECT `post_id`, `tag` FROM tags');
                Schema::drop('tags');
                Schema::rename('tags_old', 'tags');
        }
306125
public function down()
    {
        DB::statement('SET FOREIGN_KEY_CHECKS=0;');
        Schema::dropIfExists('tbl_permissions');
        Schema::dropIfExists('tbl_roles');
        Schema::dropIfExists('tbl_actions');
        Schema::dropIfExists('tbl_action_categories');
        Schema::dropIfExists('tbl_components');
        Schema::dropIfExists('tbl_brands');
        Schema::dropIfExists('tbl_antares_options');
        Schema::dropIfExists('tbl_antares_installation');
        Schema::dropIfExists('tbl_events');
        DB::statement('SET FOREIGN_KEY_CHECKS=1;');
    }
389399
public function down()
    {
        if (Schema::hasColumn('user', 'oauth_provider')) {
            Schema::table(
                'user',
                function (Blueprint $t){
                    $t->dropColumn('oauth_provider');
                }
            );
        }

        Schema::dropIfExists('oauth_config');
    }
945295
public function down()
    {
        Schema::table(config('lern.record.table'), function(Blueprint $table) {
            $table->dropColumn('user_id');
            $table->dropColumn('data');
            $table->dropColumn('url');
            $table->dropColumn('method');
        });
    }
1296737
public function down()
    {
        if(Schema::hasColumn('laramanager_objectables', 'laramanager_object_id'))
        {
            Schema::table('laramanager_objectables', function (Blueprint $table) {
                $table->renameColumn('laramanager_object_id', 'object_id');
                $table->renameColumn('laramanager_objectable_id', 'objectable_id');
                $table->renameColumn('laramanager_objectable_type', 'objectable_type');
            });
        }
    }
746425
public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('firstname');
            $table->dropColumn('lastname');
            $table->dropColumn('email');
            $table->dropColumn('cellphone');
            $table->dropColumn('telephone');
            $table->dropColumn('image');
            $table->dropColumn('gender');
            $table->dropColumn('born_at');
            $table->dropColumn('password');
            $table->dropColumn('remember_token');
            $table->dropColumn('confirmation_token');
            $table->dropColumn('logged_in_at');
            $table->dropColumn('confirmed_at');
            $table->dropColumn('password_updated_at');
            $table->dropColumn('created_at');
            $table->dropColumn('updated_at');
            $table->dropColumn('deleted_by');
            $table->dropColumn('deleted_at');
        });

        Schema::table('users', function (Blueprint $table) {
            $table->string('name');
            $table->string('email')->unique();
            $table->timestamp('email_verified_at')->nullable();
            $table->string('password');
            $table->rememberToken();
            $table->timestamps();
        });
    }
188489
public function down()
    {
        if (Schema::hasTable('lovata_buddies_users') && Schema::hasColumn('lovata_buddies_users', 'active_currency_code')) {
            Schema::table('lovata_buddies_users', function (Blueprint $obTable) {
                $obTable->dropColumn(['active_currency_code']);
            });
        }

        if (Schema::hasTable('users') && Schema::hasColumn('users', 'active_currency_code')) {
            Schema::table('users', function (Blueprint $obTable) {
                $obTable->dropColumn(['active_currency_code']);
            });
        }
    }
35345
public function down()
    {
        $resources = LaramanagerResource::all();

        $resources->each(function (LaramanagerResource $laramanagerResource) {
            LaramanagerNavigationLink::where('title', $laramanagerResource->title)->delete();
        });
    }
1190015
public function down()
    {
        $table_name = with(new User())->getTable();
        $table_columns = ['stripe_id', 'card_brand', 'card_last_four', 'trial_ends_at'];

        if (Schema::hasTable($table_name) and Schema::hasColumns($table_name, $table_columns)) {
            Schema::table($table_name, function (Blueprint $table) use ($table_columns) {
                $table->dropColumn($table_columns);
            });
        }
        Schema::dropIfExists('subscriptions');
    }
922402
public function down()
	{
        if(Schema::hasTable('hlogeon_scms_pages')){
            Schema::table('hlogeon_scms_pages', function(Blueprint $table){
                $table->dropColumn('reading_time');
                $table->dropColumn('user_id');
                $table->dropColumn('seo_title');
                $table->dropColumn('seo_description');
                $table->dropColumn('seo_keywords');
                DB::statement('ALTER TABLE hlogeon_scms_pages MODIFY COLUMN sidebar text');
            });
        }
	}
771334
public function down()
    {
        Schema::drop('postal_codes');
        Schema::drop('neighborhoods');
        Schema::drop('districts');
        Schema::drop('counties');
        Schema::drop('provinces');
    }
158723
public function down()
    {
        Schema::rename('images', 'imageables');

        Schema::table('imageables', function (Blueprint $table) {
            $table->renameColumn('resource_id', 'imageable_id');
            $table->renameColumn('resource_model', 'imageable_type');
            $table->renameColumn('original_image', 'file');
            $table->dropColumn('retina_factor');
            $table->dropColumn('image_type');
            $table->integer('orientation')->after('original_image');
        });
    }
774650
public function down()
    {
        Schema::table('forum_threads', function (Blueprint $table)
        {
            $table->boolean('pinned')->nullable(false)->default(null)->change();
            $table->boolean('locked')->nullable(false)->default(null)->change();
        });
    }
304606
public function down()
    {
        Schema::table(config('defender.role_user_table', 'role_user'), function (Blueprint $table) {
            $table->dropForeign(config('defender.role_user_table', 'role_user').'_user_id_foreign');
            $table->dropForeign(config('defender.role_user_table', 'role_user').'_'.config('defender.role_key', 'role_id').'_foreign');
        });

        Schema::drop(config('defender.role_user_table', 'role_user'));
    }
57307
public function down()
    {
        Schema::dropIfExists('bluelines');
        Schema::dropIfExists('bluelines_options');
        Schema::dropIfExists('bluelines_categories');
        Schema::dropIfExists('bluelines_tags');
        Schema::dropIfExists('bluelines_files');
        Schema::dropIfExists('bluelines_meta');
        Schema::dropIfExists('bluelines_bluelines_categories');
        Schema::dropIfExists('bluelines_bluelines_tags');
        Schema::dropIfExists('bluelines_bluelines_files');
    }