Sha256: b093c3ced1a68d4c456f3c921ab8f4582e9a9ecf456871b87e5eb000b21595b4

Contents?: true

Size: 214 Bytes

Versions: 5

Compression:

Stored size: 214 Bytes

Contents

class AddParentIdToRtmlInstructions < ActiveRecord::Migration
  def self.up
    add_column :rtml_instructions, :parent_id, :integer
  end

  def self.down
    remove_column :rtml_instructions, :parent_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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