Sha256: ad12930cff1fa9eea4f7e7b6ea74c1f21f1352fa6d64a7d32898240fc5978e3c
Contents?: true
Size: 1.73 KB
Versions: 26
Compression:
Stored size: 1.73 KB
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 CreateLearningOutcomeResults < ActiveRecord::Migration[5.1] def change create_table :learning_outcome_results do |t| t.bigint :canvas_id, null: false t.bigint :canvas_context_id t.string :canvas_context_type t.bigint :canvas_association_id t.string :canvas_association_type t.bigint :canvas_content_tag_id t.bigint :canvas_learning_outcome_id t.bigint :canvas_user_id t.boolean :mastery t.boolean :original_mastery t.bigint :canvas_artifact_id t.string :canvas_artifact_type t.datetime :assessed_at t.string :title t.float :percent t.bigint :canvas_associated_asset_id t.string :canvas_associated_asset_type t.integer :attempt t.float :score t.float :possible t.float :original_score t.float :original_possible t.string :workflow_state t.timestamps end add_index :learning_outcome_results, :canvas_id, unique: true add_index :learning_outcome_results, %i[ canvas_user_id canvas_content_tag_id canvas_association_id canvas_association_type canvas_associated_asset_id canvas_associated_asset_type ], unique: true, name: :index_learning_outcome_results_association add_index :learning_outcome_results, :canvas_content_tag_id add_index :learning_outcome_results, :canvas_learning_outcome_id add_index :learning_outcome_results, %i[canvas_artifact_id canvas_artifact_type], name: :index_learning_outcome_results_on_canvas_arid_and_artype end end
Version data entries
26 entries across 26 versions & 1 rubygems