Sha256: 80e0207acf0752a92b0a815eccb4464f00ef8d7e1341415acfeef17434c6083f

Contents?: true

Size: 412 Bytes

Versions: 9

Compression:

Stored size: 412 Bytes

Contents

# This migration comes from pulitzer (originally 20151026180630)
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration
  def up
    add_column :pulitzer_post_type_content_element_types, :text_editor, :string
    Pulitzer::PostTypeContentElementType.update_all(text_editor: 'None')
  end

  def down
    remove_column :pulitzer_post_type_content_element_types, :text_editor
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pulitzer-0.1.7 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.6 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.5 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.4 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.3 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.2 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.1 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.1.0 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb
pulitzer-0.0.5 test/dummy/db/migrate/20151026204453_add_text_editor_to_pulitzer_post_type_content_element_types.pulitzer.rb