20180914141722_add_fields_to_course.rb 264 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1
2
3
4
5
6
7
8
class AddFieldsToCourse < ActiveRecord::Migration[5.1]
  def change
    add_column :courses, :description, :string
    add_column :courses, :credits, :string
    add_column :courses, :prerequisite, :string
    add_column :courses, :restrictions, :string
  end
end