Sha256: dde433eddac206833b1b0bce80246952d8a3c92fc707eb9b26f8f14952ceb2e1
Contents?: true
Size: 942 Bytes
Versions: 5
Compression:
Stored size: 942 Bytes
Contents
class CreateSisCoreCourseOfferings < ActiveRecord::Migration[6.0] def change create_table :sis_core_course_offerings do |t| t.references :course_offering_sequence, null: false, index: { name: 'crs_off_seq_on_crs_off' }, foreign_key: { to_table: :sis_core_course_offering_sequences } t.references :academic_year, null: false, index: { name: 'ay_on_crs_off' }, foreign_key: { to_table: :sis_core_academic_years } t.references :semester, null: false, index: { name: 'sem_on_crs_off' }, foreign_key: { to_table: :sis_core_semesters } t.references :level, null: false, index: { name: 'level_on_crs_off' }, foreign_key: { to_table: :sis_core_lookups } t.timestamps end end end
Version data entries
5 entries across 5 versions & 1 rubygems