Sha256: 727a3ed8643331c69c669a0fdd3110d66eba7aafacd281d0c3067b6c67397019
Contents?: true
Size: 728 Bytes
Versions: 18
Compression:
Stored size: 728 Bytes
Contents
class CreateSisCoreCourseRegistrations < ActiveRecord::Migration[6.0] def change create_table :sis_core_course_registrations do |t| t.references :course, index: { name: 'course_on_cr_indx' }, null: false, foreign_key: { to_table: :sis_core_courses } t.references :student, index: { name: 'student_on_cr_indx' }, null: false, foreign_key: { to_table: :sis_core_students } t.references :semester, index: { name: 'semester_on_cr_indx' }, null: false, foreign_key: { to_table: :sis_core_semesters } t.timestamps end end end
Version data entries
18 entries across 18 versions & 1 rubygems