socialforge/db/migrate/20140415090718_remove_schoo...

12 lines
182 B
Ruby
Raw Permalink Normal View History

class RemoveSchoolidFromCourses < ActiveRecord::Migration
def up
remove_column :courses, :school_id
end
def down
add_column :courses, :school_id, :integer
end
end