Sha256: da4a95bc85b14a82d85df400edf1f57ed09f6d5f80218b2177ac0150b441064a

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

class CreateRtmlDomProperties < ActiveRecord::Migration
  def self.up
    create_table :rtml_dom_properties do |t|
      t.string :name
      t.text :value
      t.string :type

      t.references :element
      t.timestamps
    end
  end

  def self.down
    drop_table :rtml_dom_properties
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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