Reverse the migrations.

@return void
966444
public function down()
    {
        Schema::table($this->tablename, function (Blueprint $table) {
            $table->dropUnique('settings_key_unique');
            $table->Index($this->keyColumn);
        });
    }
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']);
    }
438133
public function down()
    {
        Schema::table('notifications', function ($table) {
            $driver = Config::get('database.driver');

            if ($driver === 'mysql' || $driver === 'sqlite') {
                DB::statement('ALTER TABLE notifications MODIFY COLUMN extra STRING(255)');
            } elseif ($driver === 'pgsql') {
                DB::statement('ALTER TABLE notifications ALTER COLUMN extra TYPE string USING code::json');
            }
        });
    }
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');
            }
        );
    }
1015912
public function down()
    {
        Schema::table('order_addresses', function (Blueprint $table) {
            DB::statement('ALTER TABLE `order_addresses` MODIFY `address2` VARCHAR(255) NOT NULL;');

            $table->dropColumn(array('uid', 'phone_work', 'phone_home', 'phone_mobile', 'others_informations'));
        });

        Schema::table('user_addresses', function (Blueprint $table) {
            DB::statement('ALTER TABLE `user_addresses` MODIFY `address2` VARCHAR(255) NOT NULL;');

            $table->dropColumn(array('uid', 'phone_work', 'phone_home', 'phone_mobile', 'others_informations'));
        });
    }
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']);
    }
1207913
public function down(): void
    {
        Schema::table(config('rinvex.tags.tables.tags'), function (Blueprint $table) {
            $table->dropColumn('icon');
            $table->dropColumn('style');
        });
    }
1132166
public function down()
    {
        Schema::table('fieldables', function (Blueprint $table) {
            $table->integer('position')->unsigned()->nullable()->default('0')->change();
        });
    }
982832
public function down()
    {
        Schema::drop('watched_items');
        Schema::drop('failed_jobs');
        Schema::drop('delivery_options');
        Schema::drop('item_categories');
        Schema::drop('items');
        Schema::drop('item_conditions');
        Schema::drop('listing_durations');
        Schema::drop('categories');

        Schema::table('users', function (Blueprint $table) {
            $table->string('username', 255)->change();
            $table->string('email', 255)->change();
            $table->string('password', 60)->change();
            $table->dropColumn('locale');
            $table->dropColumn('currency');
            $table->dropColumn('joined');
            $table->dropColumn('last_login');
            $table->dropColumn('notifications');
            $table->timestamps();

            $table->renameColumn('user_id', 'id');
            $table->renameColumn('username', 'name');
        });
    }
904804
public function down()
    {
        Schema::table('product_options', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
        });

        Schema::table('product_images', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
        });

        Schema::table('product_images', function (Blueprint $table) {
            $table->dropColumn(array('uid'));
        });
    }
1291663
public function down()
    {
        DB::statement('alter table sites drop index sites_default');
        DB::statement('alter table album_asset drop index album_asset_asset_id');
        DB::statement('alter table assets drop index assets_created_at_asc');
        DB::statement('alter table assets drop index assets_created_at_desc');
        DB::statement('alter table albums drop index albums_deleted_at');
        DB::statement('alter table albums drop index albums_name_asc_deleted_at');
    }
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');
    }
205120
public function down()
    {
        DBHelpers::setFKCheckOff();
        Schema::dropIfExists('competitor');
        Schema::dropIfExists('championship');
        Schema::dropIfExists('category');
        DBHelpers::setFKCheckOn();
    }
611492
public function down()
    {
        Schema::table('hc_pages', function (Blueprint $table) {
            $table->string('author_id', 36)->nullable(false)->change();
        });
    }
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');
            });
        }
    }
1343229
public function down()
    {
        $activity = new Activity();
        $connection = $activity->getConnectionName();
        $table = $activity->getTableName();

        Schema::connection($connection)->dropIfExists($table);
    }
1196137
public function down()
	{
        if(Schema::hasTable('hlogeon_scms_types')){
            if(Schema::hasColumns('hlogeon_scms_types', ['list_layout_id', 'enable_own_sidebar'])){
                Schema::table('hlogeon_scms_types', function(Blueprint $table){
                    $table->dropColumn('list_layout_id');
                    $table->dropColumn('type_layout_id');
                    $table->dropColumn('enable_own_sidebar');
                    $table->string('type_layout');
                });
            }
        }
    }