socialforge/db/migrate/20140417090022_change_cours...

10 lines
194 B
Ruby

class ChangeCoursesColumnSchoolId < ActiveRecord::Migration
def up
change_column :courses, :school_id, :integer
end
def down
change_column :courses, :school_id, :string
end
end