Class: AddHeadNumberToOptionsTable
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddHeadNumberToOptionsTable
- Defined in:
- lib/generators/templates/migration_add_head_number_to_options_table.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 |
# File 'lib/generators/templates/migration_add_head_number_to_options_table.rb', line 2 def change #Survey Options table add_column :survey_options, :head_number, :string end |