Sha256: 82272ace2a15a863d09d324f01a5cb2f425aa9391bf4ae10767db29fd6068bc6

Contents?: true

Size: 721 Bytes

Versions: 2

Compression:

Stored size: 721 Bytes

Contents

#
# AUTO GENERATED MIGRATION
# This migration was auto generated by the CanvasSync Gem.
# You can add new columns to this table, but removing or
# re-naming ones created here may break Canvas Syncing.
#


class CreateContextModuleItems < ActiveRecord::Migration[5.1]
  def change
    create_table :context_module_items do |t|
      t.bigint :canvas_id
      t.bigint :canvas_context_module_id
      t.integer :position
      t.bigint :canvas_content_id
      t.string :canvas_content_type
      t.bigint :canvas_assignment_id
      t.string :workflow_state

      t.timestamps
    end

    add_index :context_module_items, :canvas_id, unique: true
    add_index :context_module_items, :canvas_context_module_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
canvas_sync-0.10.2 spec/dummy/db/migrate/20190603193502_create_context_module_items.rb
canvas_sync-0.10.0 spec/dummy/db/migrate/20190603193502_create_context_module_items.rb