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

Version Path
sis_core-1.0.20 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.19 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.18 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.17 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.16 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.15 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.14 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.13 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.12 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.11 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.10 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.9 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.8 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.7 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.6 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.5 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.4 db/migrate/20200307071736_create_sis_core_instructor_courses.rb
sis_core-1.0.3 db/migrate/20200307071736_create_sis_core_instructor_courses.rb