10 lines
194 B
Ruby
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
|