Sha256: 363ddb8ce4fa7c7e780beb82dadc14ff93bca63c0abf87dff5ca20aa973b3aa4

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

class RemoveDomPropertiesMirror < ActiveRecord::Migration
  def self.up
    drop_table :rtml_dom_properties
  end

  def self.down
    create_table :rtml_dom_properties do |t|
      t.string :name
      t.text :value
      t.string :type

      t.references :element
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 rails_generators/rtml/templates/db/migrate/20100513165249_remove_dom_properties_mirror.rb