socialforge/db/migrate/20160613065840_add_syllabus...

7 lines
160 B
Ruby

class AddSyllabusToCourse < ActiveRecord::Migration
def change
add_column :courses, :syllabus_id, :integer
add_index :courses, :syllabus_id
end
end