Sha256: b69be21e3cabfe67c0c8ec1742eade37c436546b28b1ef2bb610a7ea80d59d4b

Contents?: true

Size: 580 Bytes

Versions: 5

Compression:

Stored size: 580 Bytes

Contents

class CreateSisCoreCurriculumCourses < ActiveRecord::Migration[6.0]
  def change
    create_table :sis_core_curriculum_courses do |t|
      t.references :curriculum,
                   null: false,
                   index: { name: 'cc_on_cc_course_indx' },
                   foreign_key: { to_table: :sis_core_curriculums }
      t.references :course,
                   null: false,
                   index: { name: 'course_on_cc_course_indx' },
                   foreign_key: { to_table: :sis_core_courses }
      t.string :course_type

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sis_core-1.0.20 db/migrate/20201102192055_create_sis_core_curriculum_courses.rb
sis_core-1.0.19 db/migrate/20201102192055_create_sis_core_curriculum_courses.rb
sis_core-1.0.18 db/migrate/20201102192055_create_sis_core_curriculum_courses.rb
sis_core-1.0.17 db/migrate/20201102192055_create_sis_core_curriculum_courses.rb
sis_core-1.0.16 db/migrate/20201102192055_create_sis_core_curriculum_courses.rb