socialforge/db/migrate/20161027070249_add_column_t...

7 lines
220 B
Ruby
Raw Normal View History

2016-10-27 15:11:52 +08:00
class AddColumnToPollQuestions < ActiveRecord::Migration
def change
add_column :poll_questions, :max_choices, :integer, :default => 0
add_column :poll_questions, :min_choices, :integer, :default => 0
end
end