class AddTeacherStatusToUsers

Public Instance Methods

change() click to toggle source
# File lib/generators/tkh_mailing_list/create_or_update_migrations/templates/add_teacher_status_to_users.rb, line 2
def change
  add_column :users, :teacher_status, :string
  add_index :users, :teacher_status
end