Reverse the migrations.

@return void
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();
        });
    }
1224706
public function down()
    {
        DB::transaction(function() {
            DB::table('tbl_logs')->delete();
            DB::table('tbl_log_priorities')->delete();
            DB::table('tbl_log_types')->delete();
        });
    }
1207913
public function down(): void
    {
        Schema::table(config('rinvex.tags.tables.tags'), function (Blueprint $table) {
            $table->dropColumn('icon');
            $table->dropColumn('style');
        });
    }
31880
public function down()
	{
        // Disable foreign key constraints or these DROPs will not work
        DB::statement('SET FOREIGN_KEY_CHECKS = 0');


		Schema::table('post_tag', function($table){
		    $table->dropIndex('post_tag_post_id_index');
		    $table->dropForeign('post_tag_post_id_foreign');
		    $table->dropIndex('post_tag_tag_id_index');
		    $table->dropForeign('post_tag_tag_id_foreign');
		});
		Schema::dropIfExists('post_tag');


		Schema::table('post_category', function($table){
		    $table->dropIndex('post_category_post_id_index');
		    $table->dropForeign('post_category_post_id_foreign');
		    $table->dropIndex('post_category_category_id_index');
		    $table->dropForeign('post_category_category_id_foreign');
		});
        Schema::dropIfExists('post_category');


		Schema::table('categories', function($table){
		    $table->dropIndex('categories_title_unique');
		    $table->dropForeign('categories_created_by_foreign');
		    $table->dropForeign('categories_updated_by_foreign');
		    $table->dropForeign('categories_locked_by_foreign');
		});
        Schema::dropIfExists('categories');


		Schema::table('tags', function($table){
		    $table->dropIndex('tags_title_unique');
		    $table->dropForeign('tags_created_by_foreign');
		    $table->dropForeign('tags_updated_by_foreign');
		    $table->dropForeign('tags_locked_by_foreign');
		});
        Schema::dropIfExists('tags');


		Schema::table('posts', function($table){
		    $table->dropIndex('posts_slug_unique');
            $table->dropIndex('posts_lookup_workflow_status_id_foreign');
            $table->dropForeign('posts_lookup_workflow_status_id_foreign');
		    $table->dropForeign('posts_created_by_foreign');
		    $table->dropForeign('posts_updated_by_foreign');
		    $table->dropForeign('posts_locked_by_foreign');
		});
        Schema::dropIfExists('posts');


		Schema::table('postupdates', function($table){
		    $table->dropForeign('postupdates_post_id_foreign');
		    $table->dropForeign('postupdates_created_by_foreign');
		    $table->dropForeign('postupdates_updated_by_foreign');
		    $table->dropForeign('postupdates_locked_by_foreign');
		});
        Schema::dropIfExists('postupdates');

        Schema::table('lookup_workflow_status', function($table){
            $table->dropIndex('lookup_workflow_status_title_unique');
            $table->dropForeign('lookup_workflow_status_created_by_foreign');
            $table->dropForeign('lookup_workflow_status_updated_by_foreign');
            $table->dropForeign('lookup_workflow_status_locked_by_foreign');
        });
        Schema::dropIfExists('lookup_workflow_status');


        // Enable foreign key constraints
        DB::statement('SET FOREIGN_KEY_CHECKS = 1');
	}
472183
public function down()
    {
        Schema::table('ticketit', function (Blueprint $table) {
            $table->dropColumn('html');
        });

        Schema::table('ticketit_comments', function (Blueprint $table) {
            $table->dropColumn('html');
            $table->text('content')->change();
        });
    }
389399
public function down()
    {
        if (Schema::hasColumn('user', 'oauth_provider')) {
            Schema::table(
                'user',
                function (Blueprint $t){
                    $t->dropColumn('oauth_provider');
                }
            );
        }

        Schema::dropIfExists('oauth_config');
    }
1038873
public function down()
    {
        Schema::table(config('cms.db-prefix', '').'blogs', function ($table) {
            $table->dropColumn('hero_image');
        });

        Schema::table(config('cms.db-prefix', '').'pages', function ($table) {
            $table->dropColumn('hero_image');
        });
    }
718614
public function down()
    {
        Schema::table('users', function ($table) {
            $table->string('name')->after('id');
            $table->dropColumn('picture');
            $table->dropColumn('lastname');
            $table->dropColumn('firstname');
            $table->dropForeign('users_role_id_foreign');
            $table->dropColumn('role_id');
        });
    }
192328
public function down()
    {
        Schema::table('laradrop_files', function ($table) {
            $table->dropColumn('parent_id');
            $table->dropColumn('lft');
            $table->dropColumn('rgt');
            $table->dropColumn('depth');
            $table->dropColumn('type');
            $table->dropColumn('meta');
            $table->dropColumn('public_resource_url');
            $table->dropColumn('alias');
            $table->dropColumn('has_thumbnail');
        });
    }
1103751
public function down()
    {
        $twoStepAuth = new TwoStepAuth();
        $connection = $twoStepAuth->getConnectionName();
        $table = $twoStepAuth->getTableName();

        Schema::connection($connection)->dropIfExists($table);
    }
971754
public function down()
    {
        PermissionsManager::deleteRole('admin', 'Administrator');
        PermissionsManager::deleteRole('user', 'User');
        PermissionsManager::deleteRole('banned', 'Banned user');

        PermissionsManager::deletePermission('login', 'Allow login');
        PermissionsManager::deletePermission('panel', 'Allow access to admin panel');
    }
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');
    }
546915
public function down()
	{
		Schema::connection('ff-qiwi-gate')->table('merchants_bills', function (Blueprint $table) {
			$table->dropColumn('pay_source');
		});
		Schema::connection('ff-qiwi-gate')->table('merchants_bills', function (Blueprint $table) {
			$table->string('pay_source')->after('lifetime')->default('qw');;
		});
	}
857662
public function down()
    {
        Schema::table(
            'contents',
            function (Blueprint $table) {
                $table->removeColumn('type');
                $table->removeColumn('published');
            }
        );

        Schema::table(
            'revisions',
            function (Blueprint $table) {
                $table->removeColumn('published');
            }
        );
    }
749385
public function down()
    {
        Schema::table('ticketit', function (Blueprint $table) {
            $table->dropIndex('ticketit_subject_index');
            $table->dropIndex('ticketit_status_id_index');
            $table->dropIndex('ticketit_priority_id_index');
            $table->dropIndex('ticketit_user_id_index');
            $table->dropIndex('ticketit_agent_id_index');
            $table->dropIndex('ticketit_category_id_index');
            $table->dropIndex('ticketit_completed_at_index');
        });

        Schema::table('ticketit_comments', function (Blueprint $table) {
            $table->dropIndex('ticketit_comments_user_id_index');
            $table->dropIndex('ticketit_comments_ticket_id_index');
        });

        Schema::table('ticketit_settings', function (Blueprint $table) {
            $table->dropIndex('ticketit_settings_lang_index');
            $table->dropIndex('ticketit_settings_slug_index');
        });
    }
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']);
    }
765467
public function down()
    {
        $tableNames = config('permission.table_names');

        Schema::drop($tableNames['role_has_permissions']);
        Schema::drop($tableNames['model_has_roles']);
        Schema::drop($tableNames['model_has_permissions']);
        Schema::drop($tableNames['roles']);
        Schema::drop($tableNames['permissions']);
    }