socialforge/db/migrate/20161027070249_add_column_t...

7 lines
220 B
Ruby

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