Sha256: e94ecd970fbbed323f81d62acf0c96fd97519f680a10f5af6adddc50cd2e18ce

Contents?: true

Size: 471 Bytes

Versions: 13

Compression:

Stored size: 471 Bytes

Contents

class AddElementAndAnswerFields < ActiveRecord::Migration[4.2]
  def change
    add_column Fe::Element.table_name, :conditional_id,     :integer
    add_column Fe::Element.table_name, :tooltip,            :text
    add_column Fe::Element.table_name, :hide_label,         :boolean, default: false, nil: false
    add_column Fe::Element.table_name, :hide_option_labels, :boolean, default: false, nil: false

    #add_index Fe::Element.table_name, :conditional_id
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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