12 lines
182 B
Ruby
12 lines
182 B
Ruby
|
class RemoveSchoolidFromCourses < ActiveRecord::Migration
|
||
|
def up
|
||
|
remove_column :courses, :school_id
|
||
|
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
add_column :courses, :school_id, :integer
|
||
|
|
||
|
end
|
||
|
end
|