Sha256: 3fb87444167e52b6bb99ad8cec189cd91a7484d0023302e3d337e5c357ad3afc
Contents?: true
Size: 439 Bytes
Versions: 37
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true class RenameUpcomingEventsContentBlockToUpcomingMeetings < ActiveRecord::Migration[6.0] class ContentBlock < ApplicationRecord self.table_name = :decidim_content_blocks end def change # rubocop:disable Rails/SkipsModelValidations ContentBlock.where(manifest_name: "upcoming_events").update_all(manifest_name: "upcoming_meetings") # rubocop:enable Rails/SkipsModelValidations end end
Version data entries
37 entries across 37 versions & 1 rubygems