Sha256: 954d3189809624f17f8cfdb851366de5ec81af1a90f3aa09d1654abb79cbabd9

Contents?: true

Size: 233 Bytes

Versions: 13

Compression:

Stored size: 233 Bytes

Contents

class RemoveQuestionIdFromElement < ActiveRecord::Migration[4.2]
  def up
    remove_column Fe::Element.table_name, :question_sheet_id
  end
  
  def down
    add_column Fe::Element.table_name, :question_sheet_id, :integer
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.1.4 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.1.3 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.1.2 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.1.1 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.8 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.6 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.5 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.4 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.3 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.2 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.1 db/migrate/20131016162128_remove_question_id_from_element.rb
fe-2.0.0 db/migrate/20131016162128_remove_question_id_from_element.rb