Sha256: 8da07ca4e25f84400116d52efa1ee08f5c40de71b0e67517fdd313210c975f9f
Contents?: true
Size: 828 Bytes
Versions: 5
Compression:
Stored size: 828 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 CreateContextModules < ActiveRecord::Migration[5.1] def change create_table :context_modules do |t| t.bigint :canvas_id t.bigint :canvas_context_id t.string :canvas_context_type t.integer :position t.string :name t.string :workflow_state t.datetime :deleted_at t.datetime :unlock_at t.text :completion_requirements t.text :prerequisites t.timestamps end add_index :context_modules, :canvas_id, unique: true add_index :context_modules, [:canvas_context_id, :canvas_context_type], name: "index_context_modules_on_context" end end
Version data entries
5 entries across 5 versions & 1 rubygems