Sha256: 772e8732fe0c6e319d22334c5580c88f9c7a34fbf6f817665c909b200c686c68

Contents?: true

Size: 593 Bytes

Versions: 81

Compression:

Stored size: 593 Bytes

Contents

class CreateCoalescingPandaTerms < ActiveRecord::Migration
  def change
    create_table :coalescing_panda_terms do |t|
      t.belongs_to :coalescing_panda_lti_account, null: false
      t.string :name
      t.string :code
      t.string :sis_id
      t.string :canvas_term_id, null: false
      t.datetime :start_at
      t.datetime :end_at
      t.string :workflow_state

      t.timestamps
    end

    add_index :coalescing_panda_terms, [:canvas_term_id, :coalescing_panda_lti_account_id], name: :index_terms_account, unique: true
    add_index :coalescing_panda_terms, :sis_id
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
coalescing_panda-4.1.20 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.19 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.18 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.17 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.16 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.15 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.0.6 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.0.5 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.14 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.13 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.12 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.11 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.10 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.9 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.8 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.7 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.6 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.5 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.4 db/migrate/20141119225319_create_coalescing_panda_terms.rb
coalescing_panda-4.1.3 db/migrate/20141119225319_create_coalescing_panda_terms.rb