Sha256: 941456cc7ba12e430b4d0ff07d14b6c776c65169925fd0ea31d5ecbf3a580260
Contents?: true
Size: 486 Bytes
Versions: 88
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true class RenameFeaturesToComponentsAtDebates < ActiveRecord::Migration[5.1] def change rename_column :decidim_debates_debates, :decidim_feature_id, :decidim_component_id if index_name_exists?(:decidim_debates_debates, "index_decidim_debates_debates_on_decidim_feature_id") rename_index :decidim_debates_debates, "index_decidim_debates_debates_on_decidim_feature_id", "index_decidim_debates_debates_on_decidim_component_id" end end end
Version data entries
88 entries across 88 versions & 1 rubygems