class AddMandatoryToQuestionsTable

Public Instance Methods

change() click to toggle source
# File lib/generators/templates/migration_add_mandatory_to_questions_table.rb, line 2
def change
  #Survey Questions table
  add_column :survey_questions, :mandatory, :boolean, :default => false
end