Reverse the migrations.

@return void
555445
public function down()
    {
        $connection = config('admin.database.connection') ?: config('database.default');

        Schema::connection($connection)->dropIfExists(config('admin.database.administrator.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.role.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.permission.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.menu.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.role_user.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.role_permission.table'));
        Schema::connection($connection)->dropIfExists(config('admin.database.operation_log.table'));
    }
187288
public function down()
    {
        Schema::table('hc_menu', function (Blueprint $table) {
            $table->dropForeign(['language_code']);
            $table->dropForeign(['parent_id']);
            $table->dropForeign(['menu_type_id']);
        });

        Schema::drop('hc_menu');
    }
562467
public function down()
	{
		Schema::connection('ff-mt-em')->dropIfExists('payments');
		Schema::connection('ff-mt-em')->dropIfExists('terminals');
		Schema::connection('ff-mt-em')->dropIfExists('cities');
		Schema::connection('ff-mt-em')->dropIfExists('fee');
	}
1196698
public function down()
    {
        if (Schema::hasTable('service_type')) {
            Schema::table('service', function (Blueprint $t){
                $t->foreign('type')->references('name')->on('service_type')->onDelete('cascade');
            });
        }
        if (Schema::hasTable('script_type')) {
            Schema::table('script_config', function (Blueprint $t){
                $t->foreign('type')->references('name')->on('script_type')->onDelete('cascade');
            });
            Schema::table('event_script', function (Blueprint $t){
                $t->foreign('type')->references('name')->on('script_type')->onDelete('cascade');
            });
        }
    }
335444
public function down()
    {
        //
        Schema::table('users', function ($table) {
            $table->dropColumn('tmpPwd');
            $table->dropColumn('status');
            $table->dropColumn('connection');
        });
    }
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();
        });
    }
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();
    }
1343229
public function down()
    {
        $activity = new Activity();
        $connection = $activity->getConnectionName();
        $table = $activity->getTableName();

        Schema::connection($connection)->dropIfExists($table);
    }
1334219
public function down()
    {
        Schema::table(config('combine-core.tablePrefix', 'combine') . '_members', function (Blueprint $table) {
            $table->dropForeign(config('combine-core.tablePrefix', 'combine') . '_members_member_category_id_foreign');
            $table->dropColumn('member_category_id');
        });
    }
710057
public function down()
    {
        if (Schema::hasTable('email_template') && Schema::hasColumn('email_template', 'attachment')) {
            Schema::table('email_template', function (Blueprint $t){
                $t->dropColumn('attachment');
            });
        }
    }
35345
public function down()
    {
        $resources = LaramanagerResource::all();

        $resources->each(function (LaramanagerResource $laramanagerResource) {
            LaramanagerNavigationLink::where('title', $laramanagerResource->title)->delete();
        });
    }
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');
        });
    }
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']);
            });
        }
    }
96211
public function down()
    {
        if (Schema::hasColumn('sql_db_config', 'driver')) {
            // back to pre-2.2
            Schema::table('sql_db_config', function (Blueprint $t){
                $t->string('driver')->nullable(false)->change();
                $t->string('dsn')->nullable(false)->change();
                $t->dropColumn('connection');
                $t->dropColumn('statements');
            }
            );
        }
    }
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();
    }
930666
public function down()
    {
        Schema::table('z_uploads', function (Blueprint $table) {
            $table->dropIndex('uploadable_index');
            $table->dropColumn('type');
            $table->index([
                'uploadable_id',
                'uploadable_type'
            ], 'uploadable_index');
        });
    }
58915
public function down()
    {
        $connection = config('admin.database.connection') ?: config('database.default');

        $table = config('admin.extensions.reporter.table', 'laravel_exceptions');

        Schema::connection($connection)->dropIfExists($table);
    }