bigdir/db/migrate/20140319092720_remove_schoo...

10 lines
171 B
Ruby

class RemoveSchoolFromCourses < ActiveRecord::Migration
def up
remove_column :courses, :school
end
def down
add_column :courses, :school, :string
end
end