Sha256: fabdb6684c9c4348ba8f9e723ed9b7ea49d398965330e3f5321b8c18c09c9dae
Contents?: true
Size: 676 Bytes
Versions: 60
Compression:
Stored size: 676 Bytes
Contents
<%= autogenerated_migration_warning %> class CreateEnrollments < ActiveRecord::Migration[5.1] def change create_table :enrollments do |t| t.bigint :canvas_enrollment_id, null: false t.bigint :canvas_course_id t.string :course_sis_id t.bigint :canvas_user_id t.string :user_sis_id t.string :role t.integer :role_id t.bigint :canvas_section_id t.string :section_sis_id t.string :status t.string :base_role_type t.timestamps end add_index :enrollments, :canvas_enrollment_id, unique: true add_index :enrollments, :canvas_course_id add_index :enrollments, :canvas_user_id end end
Version data entries
60 entries across 60 versions & 1 rubygems