Sha256: e5658d5ab6cda188fc883f0a9b135a26531e5f0f1ea7b6e12dac36841211795d
Contents?: true
Size: 710 Bytes
Versions: 3
Compression:
Stored size: 710 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_context_module_item_id t.bigint :canvas_context_module_id t.integer :position t.string :content_type t.bigint :content_id t.string :workflow_state t.timestamps end add_index :context_module_items, :canvas_context_module_item_id, unique: true add_index :context_module_items, :canvas_context_module_id end end
Version data entries
3 entries across 3 versions & 1 rubygems