Sha256: edd0c11ffb3bbfc0fff8eaae923f26adc823cc68ea8518fdb2f4fd3878855eec

Contents?: true

Size: 218 Bytes

Versions: 5

Compression:

Stored size: 218 Bytes

Contents

class AddParentTypeToRtmlDomElements < ActiveRecord::Migration
  def self.up
    add_column :rtml_dom_elements, :parent_type, :string
  end

  def self.down
    remove_column :rtml_dom_elements, :parent_type
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rtml-2.0.4 rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb
rtml-2.0.3 rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb
rtml-2.0.2 rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb
rtml-2.0.1 rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb
rtml-2.0.0.alpha.1 rails_generators/rtml/templates/db/migrate/20100127173146_add_parent_type_to_rtml_dom_elements.rb