Sha256: 55939a96c2a9179834dee682152cef3bc3c5a8827f9d637a3479cb9064782ca9
Contents?: true
Size: 546 Bytes
Versions: 18
Compression:
Stored size: 546 Bytes
Contents
class CreateSisCoreInstructorCourses < ActiveRecord::Migration[6.0] def change create_table :sis_core_instructor_courses do |t| t.references :instructor, index: { name: 'instructor_on_ic_indx' }, null: false, foreign_key: { to_table: :sis_core_instructors } t.references :course, index: { name: 'course_on_ic_indx' }, null: false, foreign_key: { to_table: :sis_core_courses } t.timestamps end end end
Version data entries
18 entries across 18 versions & 1 rubygems