Sha256: 579b80aafde2fa5772d94fc295003d0a25baf3f35f6a5c4e0ec25db36011ed42

Contents?: true

Size: 478 Bytes

Versions: 3

Compression:

Stored size: 478 Bytes

Contents

class AddElementAndAnswerFields < ActiveRecord::Migration
  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

3 entries across 3 versions & 1 rubygems

Version Path
fe-1.0.0 db/migrate/20131003044436_add_element_and_answer_fields.rb
fe-0.0.4 db/migrate/20131003044436_add_element_and_answer_fields.rb
fe-0.0.3 db/migrate/20131003044436_add_element_and_answer_fields.rb