Sha256: f7aa7109b6ffb7f1b6210c23a963459259d17d638bb676196fde0e2fc258b4f5
Contents?: true
Size: 939 Bytes
Versions: 60
Compression:
Stored size: 939 Bytes
Contents
# <%= autogenerated_migration_warning %> class CreateLearningOutcomes < ActiveRecord::Migration[5.1] def change create_table :learning_outcomes do |t| t.bigint :canvas_id, null: false t.integer :canvas_context_id t.string :canvas_context_type t.string :name t.string :friendly_name t.string :workflow_state t.datetime :canvas_created_at t.datetime :canvas_updated_at t.string :migration_id t.string :vendor_guid t.string :low_grade t.string :high_grade t.string :calculation_method t.string :calculation_int t.integer :outcome_import_id t.integer :root_account_ids, array: true, default: [] t.text :description t.timestamps end add_index :learning_outcomes, :canvas_id, unique: true add_index :learning_outcomes, [:canvas_context_id, :canvas_context_type], name: "index_learning_outcomes_on_context" end end
Version data entries
60 entries across 60 versions & 1 rubygems