Sha256: cd2fee910058026089e715b12d53449808d85d36b5318c4e11392f3c4892df24
Contents?: true
Size: 802 Bytes
Versions: 4
Compression:
Stored size: 802 Bytes
Contents
class AddCourseOfferingToCourseRegistration < ActiveRecord::Migration[6.0] def change remove_reference :sis_core_course_registrations, :course, index: true remove_reference :sis_core_course_registrations, :semester, index: true add_column :sis_core_course_registrations, :registered, :boolean, default: false add_column :sis_core_course_registrations, :date_registered, :date add_column :sis_core_course_registrations, :grade, :string add_reference :sis_core_course_registrations, :section, index: { name: 'sec_on_co_reg' }, foreign_key: { to_table: :sis_core_sections } add_reference :sis_core_course_registrations, :course_offering, index: { name: 'co_off_on_co_reg' }, foreign_key: { to_table: :sis_core_course_offerings } end end
Version data entries
4 entries across 4 versions & 1 rubygems