Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created September 29, 2011 17:20
Show Gist options
  • Save knowuh/1251320 to your computer and use it in GitHub Desktop.
Save knowuh/1251320 to your computer and use it in GitHub Desktop.
class HelpRequestAddNumStudents < ActiveRecord::Migration
def up
add_column :help_requests, :num_students, :integer
end
def down
remove_column :help_requests, :num_students
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment