Sha256: 27f9e5848de744a4a6b5a0ccc6669cdd50079ca6c9747f1d9a162b36b2a75d49
Contents?: true
Size: 357 Bytes
Versions: 83
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true class FixResultFollows < ActiveRecord::Migration[5.2] def change # rubocop:disable Rails/SkipsModelValidations Decidim::Follow.where(decidim_followable_type: "Decidim::Results::Result").update_all(decidim_followable_type: "Decidim::Accountability::Result") # rubocop:enable Rails/SkipsModelValidations end end
Version data entries
83 entries across 83 versions & 1 rubygems