Sha256: 73a43017184ed82fb4e64e349711326424c1869cf577d97325d51de5698e97ba

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

class RenameCustomStyleToStyle < ActiveRecord::Migration
  def change
    rename_column :knowledge_base_sectionables_attachments_lists, :custom_style, :style
    rename_column :knowledge_base_sectionables_galleries,         :custom_style, :style
    rename_column :knowledge_base_sectionables_images,            :custom_style, :style
    rename_column :knowledge_base_sectionables_links_lists,       :custom_style, :style
    rename_column :knowledge_base_sectionables_lists,             :custom_style, :style
    rename_column :knowledge_base_sectionables_texts,             :custom_style, :style
    rename_column :knowledge_base_sectionables_videos,            :custom_style, :style
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
knowledge_base-0.2.0 db/migrate/20140821085102_rename_custom_style_to_style.rb