Sha256: 33d0ae39c745e42f137fc1d6b18b60692613313814b71ac686dbf10143df6017
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
class CreateCoalescingPandaEnrollments < ActiveRecord::Migration def change create_table :coalescing_panda_enrollments do |t| t.belongs_to :coalescing_panda_user, null: false t.belongs_to :coalescing_panda_section, null: false t.string :workflow_state t.string :sis_id t.string :canvas_enrollment_id, null: false t.string :enrollment_type t.datetime :start_at t.datetime :end_at t.timestamps end add_index :coalescing_panda_enrollments, [:coalescing_panda_user_id, :coalescing_panda_section_id, :enrollment_type], name: :index_enrollments_user_and_assignment, unique: true add_index :coalescing_panda_enrollments, :sis_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
coalescing_panda-3.1.6 | db/migrate/20141120153135_create_coalescing_panda_enrollments.rb |