7 lines
160 B
Ruby
7 lines
160 B
Ruby
|
class AddSyllabusToCourse < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :courses, :syllabus_id, :integer
|
||
|
add_index :courses, :syllabus_id
|
||
|
end
|
||
|
end
|