Reverse the migrations.

@return void
432128
public function migrateDown()
    {
        Schema::table('tddd_runs', function (Blueprint $table) {
            $table->dropColumn('started_at');

            $table->dropColumn('ended_at');

            $table->dropColumn('notified_at');
        });
    }
710057
public function down()
    {
        if (Schema::hasTable('email_template') && Schema::hasColumn('email_template', 'attachment')) {
            Schema::table('email_template', function (Blueprint $t){
                $t->dropColumn('attachment');
            });
        }
    }
756632
public function down()
    {
        $this->db->createCommand("SET foreign_key_checks = 0")->execute();
        $this->dropTable('{{%property_property_group}}');

        $this->dropTable('{{%property_translation}}');
        $this->dropTable('{{%property}}');
        $this->dropTable('{{%property_group_translation}}');
        $this->dropTable('{{%property_group}}');

        $this->dropTable('{{%property_storage}}');

        $this->dropTable('{{%static_value_translation}}');
        $this->dropTable('{{%static_value}}');

        $this->dropTable(ApplicablePropertyModels::tableName());
        $this->dropTable('{{%property_handlers}}');
        $this->db->createCommand("SET foreign_key_checks = 1")->execute();
    }
205844
public function down()
    {
        $config = config('laravel-permission.table_names');

        Schema::drop($config['role_has_permissions']);
        Schema::drop($config['user_has_roles']);
        Schema::drop($config['user_has_permissions']);
        Schema::drop($config['roles']);
        Schema::drop($config['permissions']);
    }
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'));
    }
168928
public function down()
    {
        Schema::table('nodes', function (Blueprint $table) {
            $table->dropUnique('nodes_id_unique');
            $table->dropUnique('nodes_content_type_content_id_unique');

            $table->dropIndex('nodes_slug_index');
            $table->dropIndex('nodes_parent_id_index');
            $table->dropIndex('nodes_lft_index');
            $table->dropIndex('nodes_rgt_index');
            $table->dropIndex('nodes_active_index');
        });
    }
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();
        });
    }
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');
        });
    }
335444
public function down()
    {
        //
        Schema::table('users', function ($table) {
            $table->dropColumn('tmpPwd');
            $table->dropColumn('status');
            $table->dropColumn('connection');
        });
    }
1103751
public function down()
    {
        $twoStepAuth = new TwoStepAuth();
        $connection = $twoStepAuth->getConnectionName();
        $table = $twoStepAuth->getTableName();

        Schema::connection($connection)->dropIfExists($table);
    }
680065
public function down()
    {
        if (Schema::hasColumn('user_config', 'alt_auth_db_service_id')) {
            Schema::table('user_config', function (Blueprint $t){
                $t->dropForeign('user_config_alt_auth_db_service_id_foreign');
                $t->dropColumn('alt_auth_db_service_id');
                $t->dropColumn('alt_auth_table');
                $t->dropColumn('alt_auth_username_field');
                $t->dropColumn('alt_auth_password_field');
                $t->dropColumn('alt_auth_email_field');
                $t->dropColumn('alt_auth_other_fields');
                $t->dropColumn('alt_auth_filter');
            });
        }
    }
601730
public function down()
    {
        Schema::table('notifications', function (Blueprint $table) {
            $table->renameColumn('expires_at', 'expire_time');
        });
        Schema::table('notifications', function (Blueprint $table) {
            $table->bigInteger('from_id')->unsigned()->change();
        });
    }
257701
public function down()
    {

        Schema::table('group_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('permission_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('affiliation_user', function (Blueprint $table) {

            $table->dropColumn('not');
        });

        Schema::table('affiliation_role', function (Blueprint $table) {

            $table->dropColumn('not');
        });
    }
846092
public function down()
    {
        $controller = DB::table('admin_controllers')->select('id')->where('controller', '=', 'search')->first();
        $action = DB::table('admin_actions')->select('id')->where('name', '=', 'Search Log')->where('controller_id', '=', $controller->id)->first();


        DB::table('user_roles_actions')->where('action_id', '=', $action->id)->delete();
        DB::table('admin_actions')->where('id', '=', $action->id)->delete();
        DB::table('admin_controllers')->where('id', '=', $controller->id)->delete();
    }
869596
public function down()
    {
        // Check if the 2 tables exist
        if (Schema::hasTable('tags') && Schema::hasTable('taggables')) {
            if (! Schema::hasColumn('tags', 'tagable_id') && ! Schema::hasColumn('tags', 'tagable_type')) {
                Schema::table('tags', function($table) {
                    $table->integer('tagable_id')->default(1);
                    $table->string('tagable_type', 32)->default('type');
                });
                $tags = DB::table('tags')->get();
                foreach ($tags as $tag) {
                    $tagable = DB::table('taggables')->where('tag_id', '=', $tag->id)->first();
                    if ($tagable) {
                        // Points to old namespace Redooor\\Redminportal\\
                        $old_type_array = explode('\\', $tagable->taggable_type);
                        $last_model = array_pop($old_type_array);
                        $old_type = 'Redooor\\Redminportal\\' . $last_model;
                        DB::table('tags')
                            ->where('id', $tag->id)
                            ->update([
                                'tagable_id' => $tagable->taggable_id,
                                'tagable_type' => $old_type
                            ]);
                    }
                }
            }
        }
    }
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;');
    }
1227517
public function down()
    {
        Schema::dropIfExists('wink_tags');
        Schema::dropIfExists('wink_posts_tags');
        Schema::dropIfExists('wink_authors');
        Schema::dropIfExists('wink_posts');
        Schema::dropIfExists('wink_pages');
    }