Sha256: 2aa5ecbb48e1307ea6c6ef4469e087ff39e7c785dfa77701aa1661116c21671e

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 Bytes

Contents

class AddCustomStyleToKnowledgeBaseSectionables < ActiveRecord::Migration
  def change
    add_column :knowledge_base_sectionables_attachments_attachments, :custom_style, :string
    add_column :knowledge_base_sectionables_attachments_lists, :custom_style, :string

    add_column :knowledge_base_sectionables_galleries, :custom_style, :string
    add_column :knowledge_base_sectionables_gallery_images, :custom_style, :string

    add_column :knowledge_base_sectionables_images, :custom_style, :string

    add_column :knowledge_base_sectionables_links_links, :custom_style, :string
    add_column :knowledge_base_sectionables_links_lists, :custom_style, :string

    add_column :knowledge_base_sectionables_list_items, :custom_style, :string
    add_column :knowledge_base_sectionables_lists, :custom_style, :string

    add_column :knowledge_base_sectionables_texts, :custom_style, :string

    add_column :knowledge_base_sectionables_videos, :custom_style, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
knowledge_base-0.2.0 db/migrate/20140820114750_add_custom_style_to_knowledge_base_sectionables.rb