Sha256: 415f25f947b780e17c21a0ef2397274300f39d25bfb82f11adf213a21b74d33a
Contents?: true
Size: 597 Bytes
Versions: 137
Compression:
Stored size: 597 Bytes
Contents
# <%= autogenerated_migration_warning %> 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.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
137 entries across 137 versions & 1 rubygems