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